Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
domenic
2017/05/03 23:49:30
This looks like it was committed by accident
neis
2017/05/04 13:07:53
It was intentional. The idea is to test the situat
| |
| 2 <title>html-script-module-late-namespace-request</title> | |
| 3 | |
| 4 <script src="/resources/testharness.js"></script> | |
| 5 <script src="/resources/testharnessreport.js"></script> | |
| 6 <script> | |
| 7 var log = []; | |
| 8 | |
| 9 var test_load = async_test("test_load"); | |
| 10 window.addEventListener("load", test_load.step_func_done(ev => { | |
| 11 assert_array_equals(log, | |
| 12 ["export-something", | |
| 13 "import-something-namespace", 42, 43]); | |
| 14 })); | |
| 15 </script> | |
| 16 <script type="module" src="export-something.js"></script> | |
| 17 <script type="module" src="import-something-namespace.js"></script> | |
| OLD | NEW |