Bug 1850713: remove duplicated setting of early hint preloader id in `ScriptLoader...
[gecko.git] / dom / base / crashtests / 1835886.html
blob3e681b15b55580388e1144d5dae760f95ae7b18a
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8" />
5 </head>
6 <body>
7 <script>
8 const iframe = document.createElement("iframe");
9 document.body.appendChild(iframe);
10 const subdocument = iframe.contentDocument;
11 const script = subdocument.createElement("script");
12 const importPath = String(new URL("1835886.js", window.location));
13 script.textContent = `import(${JSON.stringify(importPath)})`;
14 subdocument.body.appendChild(script);
15 </script>
16 </body>
17 </html>