summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/crashtests/545291-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/crashtests/545291-1.html')
-rw-r--r--js/xpconnect/crashtests/545291-1.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/xpconnect/crashtests/545291-1.html b/js/xpconnect/crashtests/545291-1.html
new file mode 100644
index 0000000000..ed50900db1
--- /dev/null
+++ b/js/xpconnect/crashtests/545291-1.html
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script>
+
+var textNode = document.createTextNode("x");
+textNode.__proto__.__proto__ = Components;
+textNode.__lookupSetter__("canCallMethod")();
+
+</script>
+</head>
+</html>