summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/504224.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/504224.html')
-rw-r--r--dom/base/crashtests/504224.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/dom/base/crashtests/504224.html b/dom/base/crashtests/504224.html
new file mode 100644
index 0000000000..713085166b
--- /dev/null
+++ b/dom/base/crashtests/504224.html
@@ -0,0 +1,29 @@
+<html class="reftest-wait">
+<head>
+<title>Crash [@ nsFocusManager::GetClosestCommonInclusiveAncestor], part 2</title>
+</head>
+<body>
+<script>
+function oniframeload() {
+ window.frames[0].location.reload();
+};
+</script>
+<iframe src="file_504224.html" id="content" onload="oniframeload();" ></iframe>
+<script>
+var src='file_504224.html';
+setInterval(function() {
+ var x = document.getElementById('content');
+ if (!x) {
+ x=document.createElement('iframe');
+ x.src=src;
+ x.id = 'content';
+ document.body.appendChild(x);
+ setTimeout(function() {
+ window.focus();
+ document.documentElement.removeAttribute('class');
+ }, 100);
+ }
+}, 500);
+</script>
+</body>
+</html>