Bug 1660051 [wpt PR 25111] - Origin isolation: expand getter test coverage, a=testonly
[gecko.git] / dom / base / crashtests / 593302-1.html
blob96d731cfb4ad5cff81489fcbd0f3f4fa8c5fa6f9
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <script type="text/javascript">
5 function boom()
7 iframe = document.getElementById("iframe");
8 iframeBody = iframe.contentDocument.body;
9 iframeBody.appendChild(makeNamedSpan("w"));
10 remove(iframe);
11 iframeBody.appendChild(makeNamedSpan("w"));
12 remove(iframeBody);
13 document.documentElement.className = "";
16 function makeNamedSpan(i)
18 var s = document.createElement("span");
19 s.id = i;
20 return s;
23 function remove(n) { n.remove(); }
24 </script>
25 </head>
26 <body onload="boom();">
27 <iframe id="iframe" srcdoc="<html>S</html>"></iframe>
28 </body>
29 </html>