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