Closed
Bug 70331
Opened 25 years ago
Closed 25 years ago
window.open('url', '_self'/'_parent'/'_top') doesn't open in the right window
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
WORKSFORME
mozilla0.9.2
People
(Reporter: martin.honnen, Assigned: danm.moz)
Details
Attachments
(1 file)
With NN3/4 (and IE4+)
window.open('url', '_self')
opens the url in the current window,
window.open('url', '_parent')
opens the url in the parent window (that which is the JavaScript
parent
window) and
window.open('url', '_top')
opens the url in the top window (that is in a framed page in the top level
window otherwise in the current window).
window.open
in Mozilla ignores this special window names and just treats them as normal
window names resulting in opening a new window which is wrong and should be
remedied to achieve compatibility with DOM level 0 (NN3/4)
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 4•25 years ago
|
||
So, _self is being dealt with on bug 67288. _top appears to me to work.
Leaving _parent (? yes, no?)
Comment 5•25 years ago
|
||
_parent works for me on Mozilla 2001-03-02-05/Win2k
Updated•25 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 6•25 years ago
|
||
resolving as wfm per comments by Bob and John
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•