summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1529203-2.html
blob: edf071488a876d1c884e04d5060999915e5afd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML>
<html class="reftest-wait">
<script>
  var win = null;
  function doIt() {
    if (win === null) {
      win = window.open();
    }
    var doc = win.document;
    doc.open();
    doc.write('<script>import("data:text/javascript,")</' + 'script>');
    doc.close();
  }
  doIt();
  setTimeout(() => {
      doIt();
      win.close();
      document.documentElement.removeAttribute("class");
  }, 100);
</script>
</html>