diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /dom/base/test/jsmodules/importmaps/test_bug_1893164.html | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/base/test/jsmodules/importmaps/test_bug_1893164.html')
-rw-r--r-- | dom/base/test/jsmodules/importmaps/test_bug_1893164.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/base/test/jsmodules/importmaps/test_bug_1893164.html b/dom/base/test/jsmodules/importmaps/test_bug_1893164.html new file mode 100644 index 0000000000..6c5306b815 --- /dev/null +++ b/dom/base/test/jsmodules/importmaps/test_bug_1893164.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>Test module cancel</title> +<script src="/tests/SimpleTest/SimpleTest.js"></script> +<script> + var module2_loaded = false, result; + + SimpleTest.waitForExplicitFinish(); + + function testLoaded() { + ok(module2_loaded, 'module_2.mjs should be loaded'); + ok(result == 3, "result should be 3 from module_3.mjs"); + SimpleTest.finish(); + } +</script> + +<script src="./bug_1893164_module_1.mjs" type="module"></script> +<script src="./bug_1893164_module_2.mjs" type="module"></script> + +<body onload='testLoaded()'></body> |