content/html/document/crashtests/631421.html

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:22b700eb167c
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <script>
5 "use strict";
6
7 var f2;
8
9 function newIframe()
10 {
11 var f = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
12 f.setAttributeNS(null, "src", "631421.png");
13 document.body.appendChild(f);
14 return f;
15 }
16
17 function b1()
18 {
19 void newIframe();
20 f2 = newIframe();
21 setTimeout(b2, 0);
22 }
23
24 function b2()
25 {
26 document.body.removeChild(f2);
27 document.documentElement.removeAttribute("class");
28 }
29
30 </script>
31 </head>
32
33 <body onload="b1();"></body>
34 </html>

mercurial