docshell/test/browser/file_bug670318.html

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:3ac6b510d7af
1 <html><head>
2 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
3 <script>
4 function load() {
5 function next() {
6 if (count < 5)
7 iframe.src = 'data:text/html,iframe ' + (++count);
8 }
9
10 var count = 0;
11 var iframe = document.createElement('iframe');
12 iframe.onload = function () { setTimeout(next, 0) };
13 document.body.appendChild(iframe);
14
15 setTimeout(next, 0);
16 }
17 </script>
18 </head>
19
20 <body onload="load()">
21 Testcase
22 </body>
23 </html>

mercurial