summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/crashtests/468552-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/crashtests/468552-1.html')
-rw-r--r--js/xpconnect/crashtests/468552-1.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/xpconnect/crashtests/468552-1.html b/js/xpconnect/crashtests/468552-1.html
new file mode 100644
index 000000000..0ce2e3eb4
--- /dev/null
+++ b/js/xpconnect/crashtests/468552-1.html
@@ -0,0 +1,18 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script type="text/javascript">
+
+function boom()
+{
+ var dp = document.__proto__;
+ dp.__proto__ = new XPCNativeWrapper(new XMLSerializer);
+ try {
+ dp.replaceChild();
+ } catch(e) { }
+}
+
+</script>
+</head>
+
+<body onload="boom();"></body>
+</html>