Closed Bug 1373637 Opened 7 years ago Closed 7 years ago

when you open new page (via window.open()) the parent tab close

Categories

(Firefox :: Untriaged, defect)

54 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1373109

People

(Reporter: becucci, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MAFS; .NET4.0C; .NET4.0E; rv:11.0) like Gecko

Steps to reproduce:

I have the following code in an HTML page:
<input class="btn btn-info" alt="Stampa" onclick="window.open('./report/shipmentReport.php?shipm_id={$detail.shipm_id}');" name="print" value="Stampa" type="button">


Actual results:

The browser open the report (PDF file) and CLOSE the parent window (version 54.0 32 bit)


Expected results:

The browser open the report (PDF file) and the parent window remain OPEN (the parent window stay OPEN in ALL previous version of Firefox)
can you provide a standalone testcase?
also, does the issue happen on safe mode?
Flags: needinfo?(becucci)
Look a lot like Bug 1373109
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Yes, very similar to my issue (Bug 1373109). Also, as noted by fgt.ciril, it occurs when default application for viewing pdf is external, Acrobat Reader DC in my case. The behavior is as expected if Firefox viewer is set as default (i.e. parent window stays open).
The same behaviour in my application: when I use firefox preview OK (parent window stays open), but when I set as default application Acrobat Reader DC the issue occurs.
Flags: needinfo?(becucci)
You need to log in before you can comment on or make changes to this bug.