summaryrefslogtreecommitdiffstats
path: root/docshell/base/crashtests/1341657.html
blob: d68fa1eb031dd0e1da17dfb600be18436bb21fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html class="reftest-wait">
    <head>
        <script>
          function boom() {
            o1 = document.createElement("script");
            o2 = document.implementation.createDocument('', '', null);
            o3 = document.createElement("iframe");
            document.documentElement.appendChild(o3);
            o4 = o3.contentWindow;
            o5 = document.createTextNode('o2.adoptNode(o3); try { o4.location = "" } catch(e) {}');
            o1.appendChild(o5);
            document.documentElement.appendChild(o1);
            document.documentElement.classList.remove("reftest-wait");
          }
        </script>
    </head>
    <body onload="boom();"></body>
</html>