Files
sousa-gecko/dom/base/test/jsmodules/scriptDisabled_module.mjs
Yoshi Cheng-Hao Huang 812a72803f Bug 2061080 - Part 3: Don't run promise version of LoadRequestedModules if script is disabled. r=jonco
If calling the promise version of the LoadRequestedModules after the
script is disabled, the promise can't be settled and the reference of
ModuleLoadRequest can't be released, which causes memory leak. This
fixes the leak by calling the sync version instead.

Differential Revision: https://phabricator.services.mozilla.com/D320511
2026-09-03 08:38:53 +00:00

2 lines
32 B
JavaScript

export const marker = "module";