chromium/third_party/blink/web_tests/external/wpt/html/semantics/scripting-1/the-script-element/json-module/serviceworker-dynamic-import.js

onmessage = e => {
    e.waitUntil(import("./module.json", { with: { type: "json" } })
        .then(module => e.source.postMessage("LOADED"))
        .catch(error => e.source.postMessage("FAILED")));
  };