summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/recursiveOnerror_worker.js
blob: e6656d68f8dea3354a8a05fbd08f68fc57c9da1f (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");
};