summaryrefslogtreecommitdiffstats
path: root/layout/xul/crashtests/397293.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/xul/crashtests/397293.xhtml')
-rw-r--r--layout/xul/crashtests/397293.xhtml21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/xul/crashtests/397293.xhtml b/layout/xul/crashtests/397293.xhtml
new file mode 100644
index 000000000..cfd181921
--- /dev/null
+++ b/layout/xul/crashtests/397293.xhtml
@@ -0,0 +1,21 @@
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ style="opacity: 0.2;">
+<head>
+<script>
+
+function x()
+{
+ document.documentElement.style.counterReset = "chicken";
+
+ document.body.offsetHeight;
+}
+
+</script>
+</head>
+
+<body onload="setTimeout(x, 0);">Foo</body>
+
+<xul:listbox/>
+
+</html>