summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/browser/test-error-worker2.js
blob: 61fe07c3c457d910cdef5fb257f9416e54c16c71 (plain)
1
2
3
4
5
6
7
"use strict";

self.addEventListener("message", ({ data }) => foo(data));

function foo(data) {
  throw new Error("worker2");
}