summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/crashtests/786142.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/crashtests/786142.html')
-rw-r--r--js/xpconnect/crashtests/786142.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/xpconnect/crashtests/786142.html b/js/xpconnect/crashtests/786142.html
new file mode 100644
index 000000000..d98d39dd3
--- /dev/null
+++ b/js/xpconnect/crashtests/786142.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<script>
+function go() {
+ // document.open() doesn't play well with reftest-wait, so we use an iframe.
+ var ifr = document.getElementById('ifr');
+ ifr.contentWindow.doTest();
+ document.documentElement.removeAttribute("class");
+}
+</script>
+</head>
+<body>
+ <iframe id="ifr" onload="go()" src="786142-iframe.html"></iframe>
+</body>
+</html>