Add crashtest
authorjruderman@hmc.edu
Tue, 22 Apr 2008 21:16:56 -0700
changeset 14582 7155ef05668dd63d1b97fe6c9c7e3eb517c9acb3
parent 14581 f15d909a85ff46b317dfb5c2dc450921c4a8d776
child 14583 84e10243711d2387573f589424005bc9a92732a2
push id14
push userbsmedberg@mozilla.com
push dateTue, 29 Apr 2008 14:30:10 +0000
treeherdermozilla-central@78e482f2d4be [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9pre
Add crashtest
js/src/xpconnect/crashtests/386680-1.html
js/src/xpconnect/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/js/src/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>
--- a/js/src/xpconnect/crashtests/crashtests.list
+++ b/js/src/xpconnect/crashtests/crashtests.list
@@ -1,8 +1,9 @@
 load 326615-1.html
 load 328553-1.html
 load 346258-1.html
 load 346512-1.xhtml
 load 382133-1.html
+load 386680-1.html
 load 394810-1.html
 load 418139-1.svg
 load 420513-1.html