Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <script>
6 function boom()
7 {
8 var frame = document.getElementById("frame");
9 var frameWin = frame.contentWindow;
10 var frameWinner = Object.create(frameWin);
11 var v = frameWinner.captureEvents.bind(frameWinner);
12 frame.src = "local-file-not-found";
13 setTimeout(function() { setTimeout(finish); v(0); });
14 }
16 function finish() {
17 document.documentElement.removeAttribute('class');
18 }
20 </script>
21 </head>
23 <body onload="boom();">
24 <iframe id="frame" src="data:text/html,1"></iframe>
25 </body>
26 </html>