Closed Bug 288901 Opened 20 years ago Closed 20 years ago

Window Navigate Does Not Work With Firefox or Netscape

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 276767

People

(Reporter: LvBohemian, Assigned: bugzilla)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 details are in steps to reproduce and actual results... Reproducible: Always Steps to Reproduce: 1. Create a test page called GoToNextPage.htm with the following contents... <html> <head> <title>Demo Firefox & Netscape window navigate bug</title> <SCRIPT LANGUAGE=javascript> <!-- function btnBrokeBrowser_onclick() { alert("If you get to the next page after clicking this fyi it works") window.navigate("NextPage.htm") } //--> </SCRIPT> </head> <body> <center> this method is ecma compliant javascript that only works in Internet Explorer 6.x or<br> Opera 7.x <br> it fails in all versions of Firefox and Netscape 7.x :-( </center> <P align="center"> <INPUT id="btnBrokeBrowser" type="submit" value="Submit" name="BrokenBrowser" LANGUAGE="javascript" onclick="return btnBrokeBrowser_onclick()"> </P> </body> </html> 2. Create a test page called NextPage.htm with the following contents in the same web directory or elsewhere... <html> <head> <title>Your Browser Works</title> </head> <body> If you can read this your browser works with a standard JavaScript window navigate... </body> </html> 3. run gotonextpage.htm... Actual Results: java script alert dialog pops up but it never goes anywhere... I tested this code today with IE 6.x (works), Opera 7.x (works), Netscape 7.x (does not work), Firefox 1.x (does not work)... cookies are enabled, this is done on local xp pro box with latest patches etc... latest versions of all aforesaid browsers etc... Expected Results: that it would work...
Duplicate of bug 276767?
Yes, please search bugzilla before filing bugs. *** This bug has been marked as a duplicate of 276767 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.