Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 <html class="reftest-wait">
2 <head>
3 <script>
5 // document.write() doesn't play well with reftest-wait, so we need to use an
6 // iframe.
7 //
8 // This test is designed to trigger an assertion, but that assertion depends on
9 // non-deterministic hashtable iteration ordering. The assertion seems to happen
10 // around 80% of the time, so we just run the operation 10 times.
12 var i = 0;
13 function iterate() {
14 ++i;
15 if (i < 10) {
16 document.getElementById("f").src = "752038-iframe.html";
17 } else {
18 document.documentElement.removeAttribute("class");
19 }
20 }
21 window.addEventListener('message', iterate, false);
23 </script>
24 </head>
25 <body>
26 <iframe id="f" src="752038-iframe.html"></iframe>
27 </body>
28 </html>