<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <title>Microtask checkpoint after window.onerror events (module)</title>
  <script src="/resources/testharness.js"></script>
  <script src="/resources/testharnessreport.js"></script>
  <script>
  const worker = new Worker(
      "resources/checkpoint-after-error-event-worker-module.js",
      {type: "module"});
  fetch_tests_from_worker(worker);
  worker.postMessage("foo");
  </script>
</head>
