Closed Bug 287794 Opened 20 years ago Closed 20 years ago

Open in a new tab doesn't work in JavaScript popped windows

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 243893

People

(Reporter: domsoft, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.7.6) Gecko/20050321 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.7.6) Gecko/20050321 Firefox/1.0.2

There's a page popping a new window via JavaScript. This new win has no
toolbars, scrollbars, etc. If I click on a link with ctrl pressed or choose
"Open in a new tab" from the popup menu, it does nothing while it should show a
tab. However, when I close this window, a warning about closing 2 tabs shows. So
the browser creates the tab but doesn't show it. 
What is more, if the link is another JavaScript popup, and I try to open it in a
new tab, it shows a new pop window BUT still creates "invisible" tabs.

Cheers,
Dominik

Reproducible: Always

Steps to Reproduce:
1. Create 3 HTML files like this:
page1.html
*********
<HTML>
<A target="_blank" href="page2.html" onClick="window.open('page2.html','_blank',
'width=660,height=595,toolbar=no,menubar=no,scrollbars=yes,
resizable=yes,status=no,location=no,directories=no,fullscreen=no','true');
return false;">Pops a win</A>
</HTML>

page2.html
***********
<HTML>
<A href="page3.html">Another page</A>
</HTML>

page3.html
*********
<HTML>This is another page.</HTML>

2. Start from page1.html and click the link. Another window pops up. 
3. In this window ctrl+click the link or select "Open in a new tab" from the
popup menu.

Actual Results:  
Nothing happened but apparently the browser created the tab "somewhere".

Expected Results:  
show the tab properly or disable tabbing in JavaScript-popped windows.
This one is a duplicate of Bug 243893.
Marking as such.

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