summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/call_throws.js
blob: dfde155961e1724369722ea478488cac57a02dfb (plain)
1
2
3
4
function workerMethod() {
  console.log("workerMethod about to throw...");
  throw new Error("Method-Throw-Payload");
}