summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1529203-3.html
blob: ce8c2a5633c6ffe5f6801a4090a74af7606a760a (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;
  function doIt() {
    if (!win) {
      win = window.open();
    }
    var doc = win.document;
    doc.open();
    doc.write('<script type="module" src="./module-with-syntax-error.js"></' + 'script>');
    doc.close();
  }
  doIt()
  setTimeout(() => {
      doIt();
      win.close();
      document.documentElement.removeAttribute("class");
  }, 100);
</script>
</html>