summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1835886.html
blob: 3e681b15b55580388e1144d5dae760f95ae7b18a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
  </head>
  <body>
    <script>
      const iframe = document.createElement("iframe");
      document.body.appendChild(iframe);
      const subdocument = iframe.contentDocument;
      const script = subdocument.createElement("script");
      const importPath = String(new URL("1835886.js", window.location));
      script.textContent = `import(${JSON.stringify(importPath)})`;
      subdocument.body.appendChild(script);
    </script>
  </body>
</html>