summaryrefslogtreecommitdiff
path: root/dom/base/crashtests/700512-worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/700512-worker.js')
-rw-r--r--dom/base/crashtests/700512-worker.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/dom/base/crashtests/700512-worker.js b/dom/base/crashtests/700512-worker.js
new file mode 100644
index 0000000000..fcb558fcf4
--- /dev/null
+++ b/dom/base/crashtests/700512-worker.js
@@ -0,0 +1,7 @@
+onmessage = function(event) {
+ var blob = event.data;
+
+ blob.slice(1, 5);
+
+ postMessage("done");
+}