summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/microtasks/checkpoint-after-workerglobalscope-onerror-module.html
blob: ff2b5d49432ce68ba0deb6ced14f6d4706144097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!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>