Bug 1860802 - Make non-parser-created inline module scripts with imports execute...
commit392b0cedb4dbf43d952ade3313b8675de93e2430
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 3 Nov 2023 12:00:21 +0000 (3 12:00 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Fri, 3 Nov 2023 12:00:21 +0000 (3 12:00 +0000)
treecd56efeeca47ebbd1b024c83062f28de97b99a7e
parent7537024af51519377b1dbf1213dde47e59320053
Bug 1860802 - Make non-parser-created inline module scripts with imports execute asynchronously r=smaug

This reverts to the previous behaviour where inline module scripts with
dependencies would complete asynchronously. Previously this would have been
internal to the module loader base class.

Differential Revision: https://phabricator.services.mozilla.com/D192321
dom/script/ModuleLoader.cpp
dom/script/ModuleLoader.h
testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/inline-module-order.html [new file with mode: 0644]
testing/web-platform/mozilla/tests/html/semantics/scripting-1/the-script-element/support/empty_module.js [new file with mode: 0644]