Open Bug 693502 Opened 13 years ago Updated 2 years ago

Can't close the print dialog when a post request reload alert is displayed at the same time

Categories

(Core :: Printing: Setup, defect)

57 Branch
x86
macOS
defect

Tracking

()

People

(Reporter: squarer, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0a2) Gecko/20111010 Firefox/9.0a2
Build ID: 20111010042022

Steps to reproduce:

I managed to try to reload a page with a post request in it and display the print dialog at the same time.

To reproduce the bug (on mac):
Hit Cmd + P and fastly reload the page with a post request in it (I swifted left with my Magic Mouse).


Actual results:

The dialog asking me if I'm sure I want to resend data and the print dialog are both displayed at the same time.
I couldn't close any of the dialog (clicking and cancel, Print, pressing Return, Esc...) and had to force quit Firefox.


Expected results:

User should be able to close any of the dialog.
Attached file parent.html
Attached file child.html
I have added a proof of concept (parent.html + child.html).

To reproduce:

1. Open parent.html in Firefox
2. Click "click me". This will:
  a. open child.html in a new tab
  b. open a print dialog for child.html
3. Concurrently, child.html will open an alert

Results: print dialog fails to print anything and also cannot be closed.

System information:
OS: Ubuntu 16.04 xenial
Kernel: x86_64 Linux 4.4.0-75-generic
Uptime: 5h 24m
Resolution: 4480x1440
DE: Unity 7.4.0
WM: Compiz
WM Theme: Ambiance
Ambiance [GTK2], Ambiance [GTK3]
Icon Theme: ubuntu-mono-dark
Font: Ubuntu 11
CPU: Intel Core i7-5500U CPU @ 3GHz
RAM: 5120MiB / 7905MiB

Browser information:
Firefox 53.0 (64-bit)
Works for me with comment 3 in Fx53.0 x86 on Win10 1703.
Component: General → Printing: Setup
Product: Firefox → Core
This is non-e10s issue.
I can reproduce when disabled e10s on macOS and Linux, but I can't reproduce on Windows.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 9 Branch → 57 Branch
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.