Implement dynamic-import for WebCore
[WebKit-https.git] / LayoutTests / js / dom / modules / module-document-write-src.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="../../../resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <script>
8 description('Test that document.write does not work inside module.');
9
10 // Module will be executed asynchronously.
11 window.jsTestIsAsync = true;
12 </script>
13 <script>
14 debug('Module is not executed yet.');
15 </script>
16 <script src="../../../resources/js-test-post.js"></script>
17 <script type="module" src="resources/module-document-write-src.js"></script>
18 </body>
19 </html>