Closed Bug 108879 Opened 23 years ago Closed 23 years ago

window.open ignores width and height

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 29856

People

(Reporter: stas-bugzilla, Assigned: rogerl)

Details

Attachments

(1 file)

If I open a new window with javascript, like this: window.open("http://www.mozilla.org/", "test", "toolbar=no,menubar=no,status=no,width=10,height=10"); the size parameters are ignored and window opens with size like the size of the current window. This is reproduceable on: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012 (0.9.5 release).
works for me, 2001110612/linux. 1) could you try a recent nightly? 2) what windowmanager are you using / are there any Xresources for mozilla / etc?
Sawfish window manager, no special resources for Mozilla. Will try nightly.
Tried 2001110706 - same effect (new window opens with size of the browser window, not 10x10).
The default sawfish behavior is to override the app's desired size in some circumstances. This is one of those circumstances, because mozilla uses the same window class for all its windows. *** This bug has been marked as a duplicate of 29856 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified dupe. Note this is not a JavaScript Engine issue. JS Engine deals with the abstract JavaScript programming language. Specifically, the objects such as String(), Number(), and Date(). The JS Engine is not itself aware of browser or DOM objects like window, document, sockets, etc.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: