Fix crashtest to be more similar to the original testcase in the bug, by not referring to a file that doesn't exist.
authorJesse Ruderman <jruderman@gmail.com>
Thu, 07 May 2009 17:39:26 -0700
changeset 28103 b602798bd6e6b9ab73fa0d91de2cf9e0bd0fa443
parent 28102 bed2459182562331062f18fa6a27b67e7f1b2166
child 28104 aa81ff45bd35947a8a9820300a196cbdaeadf2f3
push idunknown
push userunknown
push dateunknown
milestone1.9.2a1pre
Fix crashtest to be more similar to the original testcase in the bug, by not referring to a file that doesn't exist.
docshell/base/crashtests/40929-1-inner.html
docshell/base/crashtests/40929-1.html
--- a/docshell/base/crashtests/40929-1-inner.html
+++ b/docshell/base/crashtests/40929-1-inner.html
@@ -1,12 +1,14 @@
 <html><head><title>Infinite Loop</title></head>
 <body onLoad="initNav(); initNav();">
 
 <script language="JavaScript">
 
 function initNav() {
-	window.location.href='GeneralIndex.html';
+  ++parent.i;
+  if (parent.i < 10)
+  	window.location.href=window.location.href;
 }
 
 </script>
 
 </body></html>
--- a/docshell/base/crashtests/40929-1.html
+++ b/docshell/base/crashtests/40929-1.html
@@ -1,6 +1,6 @@
 <html>
-<head><title>Infinite Loop</title></head>
+<head><title>Infinite Loop</title><script>var i=0;</script></head>
 <body>
 <iframe src="40929-1-inner.html"></iframe>
 </body>
 </html>