Source code
Revision control
Copy as Markdown
Other Tools
/**
* Any copyright is dedicated to the Public Domain.
*/
async function require_module(id) {
if (!require_module.moduleLoader) {
importScripts("/tests/dom/quota/test/modules/worker/ModuleLoader.js");
const base = location.href;
const depth = "../../../../../";
importScripts("/tests/dom/quota/test/modules/worker/Assert.js");
importScripts("/tests/dom/quota/test/modules/worker/Utils.js");
require_module.moduleLoader = new globalThis.ModuleLoader(base, depth);
}
return require_module.moduleLoader.require(id);
}