Popup windows open in fullscreen mode on OSX when window.open is called with windowFeatures argument




5 years ago
2 years ago


(Reporter: Leon Weidauer, Unassigned)


19 Branch
Mac OS X

Firefox Tracking Flags

(Not tracked)




5 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0
Build ID: 20130313170052

Steps to reproduce:

I'm running Firefox on Mac OSX 10.8.3 in OSX's native "Fullscreen Mode" (the one where Firefox gets it's own screen).

Then a web app calls window.open() with the strWindowFeatures argument. ( see https://developer.mozilla.org/en-US/docs/DOM/window.open )

Actual results:

The popup window is also opened in native fullscreen mode even when width and/or height are specified in the strWindowFeatures argument.

When window.open() is called without strWindowFeatures, the new windoo opens as a new tab instead, propably according to the user preference "open new windows in a new tab".

This is reproducible in current versions of Firefox 19, 20 (beta) and 22 (nightly), I didn't test 21.

Expected results:

The new Window should be opened in front of the existing main window like the downloads dialog does when pressing CMD+J or like the "view source" window when pressing CMD+U or  it could open on a "Desktop" screen.

Anyway it should have the specified dimensions and the behaviour should be consistent.

Comment 1

5 years ago
Is it reproducible in older versions?
Flags: needinfo?(leon.weidauer)

Comment 2

5 years ago
The problem also occurs in Firefox 18. I can't tell for any prior version.
Flags: needinfo?(leon.weidauer)
Hi Leon,

I think that if you specify width and/or height in the srtWindowFeatures what you are changing the innerWidth and/or innerHeight. If this is right, in order to change the window height and/or width you should use outerHeight and/or outerWidth (https://developer.mozilla.org/en-US/docs/Web/API/Window/open#Note_on_outerHeight_versus_height). Please correct me if I am wrong.

Is this issue still reproducible in the latest Firefox release(43.0.4) and latest Nightly (https://nightly.mozilla.org)? If yes, please provide a simplified testcase so that I can test it no my end. When trying to reproduce please use a new clean Firefox profile.

Flags: needinfo?(leon.weidauer)
Since the reporter didn't provide the requested information, I will mark this issue as RESOLVED INCOMPLETE. If you still encounter this problem, please feel free to reopen this bug, or file a new one.
Last Resolved: 2 years ago
Flags: needinfo?(leon.weidauer)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.