Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <title>html-script-module-evaluation-success-4</title> | |
|
domenic
2017/04/28 20:12:03
So this is testing that nomodule classic scripts a
| |
| 5 <script src="/resources/testharness.js"></script> | |
| 6 <script src="/resources/testharnessreport.js"></script> | |
| 7 </head> | |
| 8 <body> | |
| 9 <h1>html-script-module-evaluation-success-4</h1> | |
| 10 <script> | |
| 11 | |
| 12 var log = []; | |
| 13 | |
| 14 var test_load = async_test("test_load"); | |
| 15 window.addEventListener("load", test_load.step_func_done(ev => { | |
| 16 assert_array_equals(log, [window, undefined]); | |
| 17 })); | |
| 18 | |
| 19 </script> | |
| 20 <script src="this.js" nomodule></script> | |
| 21 <script type="module" src="this.js"></script> | |
| 22 <script src="this.js"></script> | |
| 23 </body> | |
| 24 </html> | |
| OLD | NEW |