test-console-api-iframe.html (652B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>Testing the console API after adding an iframe</title> 6 <!-- Any copyright is dedicated to the Public Domain. 7 http://creativecommons.org/publicdomain/zero/1.0/ --> 8 </head> 9 <body> 10 <p>test for bug 613013</p> 11 <script type="text/javascript"> 12 /* eslint-disable */ 13 (function () { 14 var iframe = document.createElement('iframe'); 15 iframe.src = 'data:text/html;charset=utf-8,<!DOCTYPE html>little iframe'; 16 document.body.appendChild(iframe); 17 18 console.log("iframe added"); 19 })(); 20 </script> 21 </body> 22 </html>