summaryrefslogtreecommitdiffstats
path: root/docshell/base/crashtests/40929-1-inner.html
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/base/crashtests/40929-1-inner.html')
-rw-r--r--docshell/base/crashtests/40929-1-inner.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/docshell/base/crashtests/40929-1-inner.html b/docshell/base/crashtests/40929-1-inner.html
new file mode 100644
index 000000000..313046a34
--- /dev/null
+++ b/docshell/base/crashtests/40929-1-inner.html
@@ -0,0 +1,14 @@
+<html><head><title>Infinite Loop</title></head>
+<body onLoad="initNav(); initNav();">
+
+<script language="JavaScript">
+
+function initNav() {
+ ++parent.i;
+ if (parent.i < 10)
+ window.location.href=window.location.href;
+}
+
+</script>
+
+</body></html>