summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/crashtests/1228456.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/test/crashtests/1228456.html')
-rw-r--r--dom/workers/test/crashtests/1228456.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/workers/test/crashtests/1228456.html b/dom/workers/test/crashtests/1228456.html
new file mode 100644
index 0000000000..6d1f0f0a72
--- /dev/null
+++ b/dom/workers/test/crashtests/1228456.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<script>
+
+function boom()
+{
+ var w;
+ for (var i = 0; i < 99; ++i) {
+ w = new SharedWorker("data:text/javascript;charset=UTF-8," + encodeURIComponent(i + ";"));
+ }
+ w.port.postMessage("");
+}
+
+</script>
+<body onload="boom();"></body>