Bug 1935611 - Fix libyuv/libpng link failed for loongarch64. r=glandium,tnikkel,ng
[gecko.git] / js / xpconnect / crashtests / 752038.html
blobc2fe7ab6376ba5482dc2f1e2b13643ce93d386cb
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");
21 window.addEventListener('message', iterate);
23 </script>
24 </head>
25 <body>
26 <iframe id="f" src="752038-iframe.html"></iframe>
27 </body>
28 </html>