chromium/third_party/blink/web_tests/external/wpt/html/webappapis/scripting/processing-model-2/integration-with-the-javascript-job-queue/resources/promise-job-incumbent-resolver.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>Incumbent page used as a test helper</title>

<script>
  window.runWhatYouGiveMe = (func) => {
    func();
  };
</script>