summaryrefslogtreecommitdiffstats
path: root/dom/xbl/crashtests/418133-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xbl/crashtests/418133-1.xhtml')
-rw-r--r--dom/xbl/crashtests/418133-1.xhtml22
1 files changed, 22 insertions, 0 deletions
diff --git a/dom/xbl/crashtests/418133-1.xhtml b/dom/xbl/crashtests/418133-1.xhtml
new file mode 100644
index 000000000..ea821b76e
--- /dev/null
+++ b/dom/xbl/crashtests/418133-1.xhtml
@@ -0,0 +1,22 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+<head>
+<script type="text/javascript">
+
+function boom()
+{
+ for(var p in document.getElementById("prefs")) {
+ }
+
+ for(var p in window) {
+ }
+}
+
+</script>
+</head>
+<body onload="boom();">
+
+<xul:preferences id="prefs" />
+
+</body>
+</html>