Last Comment Bug 440035 - Links to "_blank" open new tab in wrong window
: Links to "_blank" open new tab in wrong window
Status: RESOLVED WONTFIX
[testday-20120615]
:
Product: Firefox
Classification: Client Software
Component: Tabbed Browser (show other bugs)
: 3.0 Branch
: x86 Windows XP
: -- major with 5 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-18 09:53 PDT by anya
Modified: 2012-06-11 21:04 PDT (History)
5 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description anya 2008-06-18 09:53:19 PDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0

We have an intranet that begins by opening a new window (windowB) using a link that has javascript window.open (on windowA). From this new window, we have a navigation menu. This menu has (a) some items that open in the same space (same window, same tab), (b) some items that open in a new tab (same window, new tab), and (c) some items that open in a new window (new window, new tab). In Firefox 2, all three of these options worked. In Firefox 3, option b is not working properly. The link (<a href="info.php" target="_new">New Page</a>) opens a new tab in the original window (windowA: the one that the window.open was on).

Reproducible: Always

Steps to Reproduce:
1. create page with link to open new window (using window.open)
2. open page in windowA
3. click on link to open windowB
4. in windowB click on link to open new tab (<a href="info.php" target="_new">New Page</a>)
Actual Results:  
Link opens in a new tab in windowA

Expected Results:  
Link should open in a new tab in windowB
Comment 1 Niky 2008-12-18 06:25:27 PST
I've got the same problem and for this reason our web application supports all browsers but not firefox 3
Comment 2 Marian Hudec 2009-01-13 05:48:39 PST
Yes, i confim this bug. we have the same problem. Look here and try it in FF2 and FF3. http://www.eo.cz/test.php
Comment 3 barbara.devido 2009-04-03 06:05:50 PDT
I confirm the bug.
A possible workaround is to use a javascript that converts all the target=_blank into a window.open, but it's surely not the best solution.
Comment 4 Seth Green 2010-06-22 09:21:42 PDT
duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=452332 ?
Comment 5 Swarnava Sengupta (:Swarnava) 2012-06-11 21:04:14 PDT
Firefox 3.0 is now EOL, please try latest version of Firefox and feel free to open if it reproducible on latest build
* http://getfirefox.com
for support
* https://support.mozilla.org/questions/new

Note You need to log in before you can comment on or make changes to this bug.