Closed Bug 346136 Opened 18 years ago Closed 18 years ago

SWM: Don't Redirect Links Opened With Features to New Tabs

Categories

(Camino Graveyard :: Tabbed Browsing, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 338777

People

(Reporter: bugs, Unassigned)

Details

If a website opens a link with features specified, e.g.:

window.open("goat.html", "GoatWindow", "width=250,height=100,toolbar=no");

Camino needs to open it in a new window, even if Single Window Mode is enabled, i.e. NOT open in a new tab. The reason is that when sites open "consoles" they often specify sizing etc for good reason. When we first had this in Firefox we did it the way Camino does now, and it broke a lot of websites. 

You could retain the current behavior as a hidden pref. 

The way to detect this is to see if the window is opened with "features" - that is the third parameter to window.open. If it is, open it in a new window anyway. If isn't, then you are safe to redirect to a new tab if that's the setting.
Yep.

*** This bug has been marked as a duplicate of 338777 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.