diff options
Diffstat (limited to 'dom/workers/test/WorkerTest_badworker.js')
-rw-r--r-- | dom/workers/test/WorkerTest_badworker.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dom/workers/test/WorkerTest_badworker.js b/dom/workers/test/WorkerTest_badworker.js new file mode 100644 index 000000000..7a1df54bd --- /dev/null +++ b/dom/workers/test/WorkerTest_badworker.js @@ -0,0 +1,7 @@ +/** + * Any copyright is dedicated to the Public Domain. + * http://creativecommons.org/publicdomain/zero/1.0/ + */ +onmessage = function(event) { + throw "Shouldn't be able to read this!"; +} |