summaryrefslogtreecommitdiffstats
path: root/dom/bindings/crashtests/1010658-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/bindings/crashtests/1010658-1.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/bindings/crashtests/1010658-1.html b/dom/bindings/crashtests/1010658-1.html
new file mode 100644
index 0000000000..6b341f4ed9
--- /dev/null
+++ b/dom/bindings/crashtests/1010658-1.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function boom()
+{
+ window.__proto__ = null;
+ for (var i = 0; i < 10000; ++i) {
+ self.document;
+ }
+}
+
+</script></head>
+
+<body onload="boom();"></body>
+</html>