Closed
Bug 4148
Opened 26 years ago
Closed 25 years ago
Redirect with window.location does not redirect the page.
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
VERIFIED
FIXED
M5
People
(Reporter: desale, Assigned: don)
Details
Redirect with window.location does not redirect the page.
Providing information to simulate the problem.
Product: Seamonkey.[apprunner]
Build Date: 03/17/99
Platform: PC [Windows-95]
Steps to Reproduce:
1] Please copy the code I'm providing. Save as HTML file.
2] Open this HTML file in apprunner.
3] Check whether page redirects to you to another site which is
http://home.netscape.com/
Code:
<html>
<head>
<title>Test Page</title>
</head>
<SCRIPT LANGUAGE="JavaScript1.1">
function init(){
if (navigator.appName == "Netscape") {
window.location.href="http://home.netscape.com/"
}else{
window.location.href="http://www.microsoft.com"
}
}
</SCRIPT>
<body onLoad="init()">
<FORM NAME="workform" >
</form>
</body>
</html>
Expected Results: Page should be redirected to http://home.netscape.com/
Actual Results: Does not redirect.
Updated•26 years ago
|
Assignee: vidur → desale
Comment 1•26 years ago
|
||
Works for me in the viewer. If there's a problem it's at the apprunner end.
Prashant, please confirm that this works in the viewer. If so, please reassign
this to the apprunner owner - they're blocking a LoadURL.
Reporter | ||
Updated•26 years ago
|
Assignee: desale → don
Reporter | ||
Comment 2•26 years ago
|
||
vidur It works fine for Viewer, It just does not work for apprunner. So
reassigning to apprunner owner.
Reporter | ||
Updated•26 years ago
|
Priority: P3 → P2
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Resolved as FIXED.
Works now. I'd love to take credit for the fix, but ...
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 5•25 years ago
|
||
Verified. Everything is working perfectly fine.
You need to log in
before you can comment on or make changes to this bug.
Description
•