summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/1234622-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/1234622-1.html')
-rw-r--r--layout/base/crashtests/1234622-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/base/crashtests/1234622-1.html b/layout/base/crashtests/1234622-1.html
new file mode 100644
index 000000000..c715bc18d
--- /dev/null
+++ b/layout/base/crashtests/1234622-1.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<script>
+
+window.addEventListener("load", function() {
+ setTimeout(function() {
+ window.location = "data:text/html,2";
+ }, 0);
+}, false);
+
+window.addEventListener("pagehide", function() {
+ var x = document.createElement("object");
+ x.setAttribute("data", "data:text/plain,3");
+ document.documentElement.appendChild(x);
+}, false);
+
+</script>