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