diff options
Diffstat (limited to 'dom/base/test/file_script_module_element_and_dynamic.mjs')
-rw-r--r-- | dom/base/test/file_script_module_element_and_dynamic.mjs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/base/test/file_script_module_element_and_dynamic.mjs b/dom/base/test/file_script_module_element_and_dynamic.mjs new file mode 100644 index 0000000000..3eeba5f28d --- /dev/null +++ b/dom/base/test/file_script_module_element_and_dynamic.mjs @@ -0,0 +1,11 @@ +const { f } = await import( + "./file_script_module_element_and_dynamic_imported_1.mjs" +); +import { g } from "./file_script_module_element_and_dynamic_imported_2.mjs"; +import { h } from "./file_script_module_element_and_dynamic_imported_3.mjs"; + +f(); +g(); +h(); + +window.dispatchEvent(new Event("test_evaluated")); |