summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/threadErrors_worker4.js
blob: 4518ce017cf7bde7f3f975e7df0f4260a3c5db9c (plain)
1
2
3
4
5
6
7
8
/**
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */
// Throwing message listener
onmessage = function(event) {
  throw new Error("Bah!");
};