gecko/dom/workers/test/threadErrors_worker4.js
Gervase Markham 638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00

9 lines
202 B
JavaScript

/**
* 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!");
};