summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/recursiveOnerror_worker.js
blob: 35d2e2b80de7544bf001308b1d5b035cc907d2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
/**
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */
onerror = function (message, filename, lineno) {
  throw new Error("2");
};

onmessage = function (event) {
  throw new Error("1");
};