Closed
Bug 67947
Opened 24 years ago
Closed 23 years ago
window.open() opens small window given width=0,height=0
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9.5
People
(Reporter: venur, Assigned: danm.moz)
References
Details
(Keywords: dom0, helpwanted)
Attachments
(2 files)
2.79 KB,
text/html
|
Details | |
2.18 KB,
patch
|
Details | Diff | Splinter Review |
From Bugzilla Helper: User-Agent: Mozilla/4.73 [en] (WinNT; I) BuildID: 2001020320 If the page in atachement is loaded and if we try to open a window without giving any values for width and height, then it is not opening a full size window. Reproducible: Always Steps to Reproduce: 1.Start the browser 2.Load the page given in the attachment. 3.With no values in the width and height field,Press enter. Actual Results: Opens a small sized window. Expected Results: A full screen size window should be opened with the url loaded the page.
Oh. We're seeing the "width=0,height=0" string and trying to do it, getting a minimal 100x100 window. We should simply ignore explicit 0s as do IE and Nav 4. This one's an easy fix.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Window.open() function with out providing the width and height values should open a full window → window.open() opens small window given width=0,height=0
Target Milestone: --- → mozilla1.0
(to be precise, the test page gives open() the string "...width=,height=", which all three browsers treat the same as "...width=0,height=0"). Might as well make this one Moz 0.9, since the fix is understood.
Status: NEW → ASSIGNED
Target Milestone: mozilla1.0 → mozilla0.9
Comment 6•23 years ago
|
||
<html> Following code doesn't fail. Following code also doesn't use width & height. Its only reporters particular testcase fails. <head> <title></title> </head> <body> <input type="button" value="open" onClick="window.open('http://www.yahoo.com');"> </body> </html>
Updated•23 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 7•23 years ago
|
||
No time left for this in current release cycle, ->0.9.3/helpwanted
Keywords: helpwanted
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Updated•23 years ago
|
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Comment 9•23 years ago
|
||
r=joki
Assignee | ||
Comment 10•23 years ago
|
||
.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 11•20 years ago
|
||
*** Bug 44783 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•