Closed Bug 381140 Opened 17 years ago Closed 14 years ago

FF do not allow "window.open" to open page in new window

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: vytis, Unassigned)

Details

(Whiteboard: [CLOSEME 5-15-2010])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; lt; rv:1.8.1.4) Gecko/20070509 Firefox/2.0.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; lt; rv:1.8.1.4) Gecko/20070509 Firefox/2.0.0.4

I wanted to force FF2 to open "window.open" in new window. But i failed:
-  i set on FF settings "open pages" in "new window", but this do no affect "window.open". 
- i made "window.open("","aaa")" - still opens in new tab.

Reproducible: Always

Steps to Reproduce:
1. run javascript:window.open("","aaa");

Actual Results:  
opened in new tab

Expected Results:  
opened in new window
In Firefox see tools -> options -> tabs -> New pages should be opened in.

This bug is INVALID.  Please see http://developer.mozilla.org/en/docs/Bug_writing_guidelines before filing future bugs.

Information about product support for Mozilla products is available at http://www.mozilla.com/support/
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
In about:config you have probably changed the value of browser.link.open_newwindow.restriction by accident. 
I did not edited anything on about:config. But maybe this setting came with test versions of FF.

browser.link.open_newwindow.restriction = 2

What walue should be to allow pages to be opened in new window using "window.open"?

Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Sorry, thought you were talking about a javascript link in a page. Should really have read it better. But you're talking about a bookmarklet. It opens in a new window here but in the background.
Maybe you see the symptoms of Bug 358187? 
The fact that it opens in the background is bug 232605. Is fixed on trunk now. 
yes, i see syptoms of Bug 358187. But it about about wrong settings in proffile.
As i understood, this is different problem:  no setting do not force to open new window from bookmarklet. 
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 5-15-2010]
Version: unspecified → 2.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.