Bug 1660051 [wpt PR 25111] - Origin isolation: expand getter test coverage, a=testonly
[gecko.git] / dom / base / crashtests / 1158412.html
blobe62fce1ab9d2014f6ca0891d85823769b385d9d0
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <script>
7 function boom()
9 document.styleSheetSets.expando = null;
10 var otherDoc = document.implementation.createDocument("", "", null);
11 var otherSpan = otherDoc.createElementNS("http://www.w3.org/1999/xhtml", "span");
13 var img = document.createElementNS("http://www.w3.org/1999/xhtml", "img");
14 img.srcset = "data:,a 1w, data:,b 1w";
15 img.sizes = "1px";
16 otherSpan.appendChild(img);
19 </script>
20 </head>
21 <body onload="boom();"></body>
22 </html>