summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/412651-1-frame.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/412651-1-frame.xhtml')
-rw-r--r--layout/base/crashtests/412651-1-frame.xhtml29
1 files changed, 29 insertions, 0 deletions
diff --git a/layout/base/crashtests/412651-1-frame.xhtml b/layout/base/crashtests/412651-1-frame.xhtml
new file mode 100644
index 0000000000..80f10b544c
--- /dev/null
+++ b/layout/base/crashtests/412651-1-frame.xhtml
@@ -0,0 +1,29 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+<head>
+
+<style type="text/css" id="s"></style>
+
+<script type="text/javascript">
+
+function lo()
+{
+ window.onerror = oe;
+ setTimeout(function(){ location.reload(); }, 200);
+}
+
+function oe(a,b,c)
+{
+ document.getElementById("s").textContent = ".nosuch { color: red }";
+}
+
+</script>
+
+</head>
+
+<body onload="lo();">
+ <xul:preference/>
+ <xul:tabs/>
+</body>
+
+</html>