blob: 11648d3d1a517605ae071921b76a5d0149ee8e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { f } from "./file_script_module_import_multi_elems_imported_once_1.js";
import { h } from "./file_script_module_import_multi_elems_imported_twice.js";
f();
h();
// Dynamically insert the element after loading all source, so that
// the module import doesn't race.
const script = document.createElement("script");
script.id = "watchme2";
script.setAttribute("type", "module");
script.setAttribute("src", "file_script_module_import_multi_elems_2.js");
document.body.appendChild(script);
window.dispatchEvent(new Event("test_evaluated"));
|