summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1619322.html
blob: 1e627a4bad323f78c663e46733d9d74faa6a25bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html class="reftest-wait">
    <iframe></iframe>
    <script>
      window.addEventListener('load', () => {
        let doc = frames[0].document;
        let count = 0;
        let id = setInterval(function () {
          if (!doc.documentElement) {
            clearInterval(id);
            document.documentElement.className = "";
          }
          doc.documentElement.replaceWith();
        }, 312)
        doc.addEventListener('DOMSubtreeModified', (e) => e.originalTarget.writeln(), false)
      })
    </script>
</html>