Skip to content

Commit 280c563

Browse files
committed
Bug 1916277 - Part 17: Increase module fetching delay. r=jonco
Even with a 0.5-second delay, preloading causes the module script to arrive before the import map. Increase the delay to guarantee the import map is available before module execution. Differential Revision: https://phabricator.services.mozilla.com/D272786
1 parent 5fe845c commit 280c563

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testing/web-platform/tests/import-maps/multiple-import-maps/resolution-consistency-in-module-tree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<script>
2121
const log = [];
2222
</script>
23-
<script type="module" src="../resources/importer.sub.js?pipe=trickle(d0.5)&name=..%2Fresources%2Flog.sub.js%3Fname%3DA"></script>
23+
<script type="module" src="../resources/importer.sub.js?pipe=trickle(d1)&name=..%2Fresources%2Flog.sub.js%3Fname%3DA"></script>
2424
<script type="module">
2525
test(() => {
2626
assert_array_equals(log, ["log:B"], "Import should use the new import map");

0 commit comments

Comments
 (0)