Closed
Bug 7141
Opened 26 years ago
Closed 25 years ago
Window.open() with 1 parameter loads URL of child window in parent window
Categories
(Core :: DOM: Core & HTML, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: desale, Assigned: joki)
Details
(Whiteboard: [TESTCASE] window.open(x) open in self, window.open(x,y,z) in new window)
Attachments
(2 files)
Window.open() does not open new window, but instead it loads URL of child window
in parent window.
Product: seamonkey [Apprunner/ Viewer]
Build: 05-25-09.
Steps to reproduce bug:
1] Please copy the code I'm providing. Save as HTML file and open this file in
viewer as well as apprunner.
2] As soon as you open this file, it is supposed to open one more window with
URL 'http://www.yahoo.com'
Expected Results:
As soon as you open this file, it is supposed to open one more window with URL
'http://www.yahoo.com'
Actual Results:
It does not open new window. And it loads URL 'http://www.yahoo.com' in parent
window itself.
CODE:
<html>
<head>
<title>Test Page</title>
</head>
<body >
<form name="workform">
<SCRIPT LANGUAGE="JavaScript1.1">
window.open('http://www.yahoo.com');
</SCRIPT>
</form>
</body>
</html>
END OF CODE.
Reporter | ||
Updated•26 years ago
|
Priority: P3 → P1
Reporter | ||
Comment 1•26 years ago
|
||
Setting priority to P1 since blocking development of certain testcases.
Comment 2•26 years ago
|
||
Comment 3•26 years ago
|
||
Updated•26 years ago
|
Summary: Window.open() loads URL of child window in parent window. → Window.open() with 1 parameter loads URL of child window in parent window
Whiteboard: [TESTCASE] window.open(x) open in self, window.open(x,y,z) in new window
Comment 4•26 years ago
|
||
here we go, borrowing heavily from desale@netscape.com's test case:
Product: seamonkey [Apprunner/ Viewer]
Build: M7.
Steps to reproduce bug:
1] Run the attachment
2 [details] [diff] [review]] As soon as you open this file, it is supposed to open one more window with
URL 'http://www.yahoo.com'
Expected Results:
As soon as you open this file, it is supposed to open one more window with URL
'http://www.yahoo.com'
Actual Results:
It does not open new window. And it loads URL 'http://www.yahoo.com' in parent
window itself.
Additional information: if you use window.open('http://www.yahoo.com', "xxx",
"") instead (it's commented in the attachment), a new window is opened.
Conclusion: if no window name (the second parameter) is given, no new window
opens; that narrows the bug a little bit.
Comment 5•26 years ago
|
||
Passing along to Tom after a brief discussion with him.
Updated•26 years ago
|
Assignee: vidur → joki
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•25 years ago
|
||
This has been fixed.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 7•25 years ago
|
||
Marking verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•