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