chromium/third_party/blink/web_tests/http/tests/devtools/service-workers/resources/v8-cache-iframe.html

<script>
let done;
function loadScript(url) {
  return new Promise((resolve) => {
    // This "done" function will be called from the script.
    done = resolve;
    let script = document.createElement("script");
    script.charset= 'UTF-8';
    script.src = url;
    document.body.appendChild(script);
  });
}
</script>