summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/crashtests/386680-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/xpconnect/crashtests/386680-1.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/js/xpconnect/crashtests/386680-1.html b/js/xpconnect/crashtests/386680-1.html
new file mode 100644
index 0000000000..3949730e47
--- /dev/null
+++ b/js/xpconnect/crashtests/386680-1.html
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+
+<script>
+
+function boom()
+{
+ o = {};
+ o.__proto__ = o.constructor;
+ p = o.constructor.prototype;
+ p.__proto__ = window;
+ null.__proto__ = {};
+}
+
+</script>
+</head>
+
+<body onload="boom()">
+
+</body>
+</html>