Closed Bug 9477 Opened 25 years ago Closed 25 years ago

location.replace() fails in viewer.exe

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: richmond, Assigned: vidur)

References

()

Details

replace() does not do anything in viewer.exe, but works fine with apprunner.exe.

frame.location.href=url works fine for both.
Blocks: 8310
Whiteboard: [MAKINGTEST] pabreu@writeme.com
This is a very simple test-case:
<html>
<head>
	<title>
		Example of the confirm() method
	</title>
</head>
<body>
<script language="JavaScript">
	var msg = "Click OK to go to Yahoo, or click Cancel to go to Lycos.";
	if (confirm(msg))
		location.replace("http://www.yahoo.com");
	else
		location.replace("http://www.lycos.com");
</script>
</body>
</html>
Whiteboard: [MAKINGTEST] pabreu@writeme.com
*** Bug 11419 has been marked as a duplicate of this bug. ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
The replace() problem was temporary - it's been fixed for a while. Of course,
window.confirm() doesn't do anything now (used in this test case), but the
original bug is fixed.
Status: RESOLVED → VERIFIED
Tested with 10-09-09 build. Working fine. Marking verified.
You need to log in before you can comment on or make changes to this bug.