summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/crashtests/806751.html
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/crashtests/806751.html')
-rw-r--r--js/xpconnect/crashtests/806751.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/js/xpconnect/crashtests/806751.html b/js/xpconnect/crashtests/806751.html
new file mode 100644
index 000000000..4e44b9b82
--- /dev/null
+++ b/js/xpconnect/crashtests/806751.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<script>
+
+function boom()
+{
+ var frame = document.getElementById("frame");
+ var frameWin = frame.contentWindow;
+ var frameWinner = Object.create(frameWin);
+ var v = frameWinner.captureEvents.bind(frameWinner);
+ frame.src = "local-file-not-found";
+ setTimeout(function() { setTimeout(finish); v(0); });
+}
+
+function finish() {
+ document.documentElement.removeAttribute('class');
+}
+
+</script>
+</head>
+
+<body onload="boom();">
+<iframe id="frame" src="data:text/html,1"></iframe>
+</body>
+</html>