[macOS] Firefox remains stuck if closed while the master password modal is opened and close tabs and exit window is displayed.
Categories
(Toolkit Graveyard :: Notifications and Alerts, defect, P2)
Tracking
(firefox-esr78 unaffected, firefox88 unaffected, firefox89 verified, firefox90 verified)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | verified |
firefox90 | --- | verified |
People
(Reporter: atrif, Assigned: Gijs)
References
(Blocks 2 open bugs)
Details
(Keywords: regression, Whiteboard: [proton-modals] [priority:2a] [proton-uplift])
Attachments
(2 files)
(deleted),
video/quicktime
|
Details | |
(deleted),
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details |
Affected versions
- 90.0a1 (20210517094928)
- 89.0b13 (20210516190025)
Affected platforms
- macOS 11.3.1 ARM
- macOS 10.14
Preconditions
- Primary Password modal displayed
Steps to reproduce
- Click on the Firefox Apple menu and select Quit Firefox.
- Enter the password and submit or click Cancel on the Primary password prompt.
- Try to do anything in Firefox.
Expected result
- On 88.0.1 the close tabs and quit window is displayed only after the Primary password is closed and after closing that or exiting Firefox everything works as normal.
Actual result
- Firefox cannot be closed or used.
Regression range
- I will search for one ASAP. This only reproduces if
prompts.windowPromptSubDialog
is set on true so it’s possible that this caused the regression.
Notes
- Attached a screen recording.
- After following the above steps Firefox can be closed by Using Force Close option from the activity monitor.
- This was marked as an S2 because the user needs to Force Quit the Firefox browser if the above steps are performed.
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Reporter | ||
Comment 4•3 years ago
|
||
Hello! Verified the issue using Firefox 90.0a1 (20210520095745) on macOS 11.3. The browser is working as expected after following the str from comment 0.
Just to be sure I have two questions:
- When trying to exit the browser while the Primary Password modal is displayed
NS_ERROR_NOT_AVAILABLE: Prompt could not be shown.
error is displayed in the browser console. Is this expected? - Also, the
Close tabs and quit
window is not displayed after closing the Primary password window if triggered while it's active as stated in comment 0 expected result. This is expected as well?
Thank you in advance.
Assignee | ||
Comment 5•3 years ago
|
||
(In reply to Alexandru Trif, QA [:atrif] from comment #4)
Hello! Verified the issue using Firefox 90.0a1 (20210520095745) on macOS 11.3. The browser is working as expected after following the str from comment 0.
Just to be sure I have two questions:
- When trying to exit the browser while the Primary Password modal is displayed
NS_ERROR_NOT_AVAILABLE: Prompt could not be shown.
error is displayed in the browser console. Is this expected?
Yes.
- Also, the
Close tabs and quit
window is not displayed after closing the Primary password window if triggered while it's active as stated in comment 0 expected result. This is expected as well?
Yes, it wasn't easily possible to fix this issue in a way where the modal would automatically reopen.
When we fix the primary password modal to use the same style of modal prompt as the quit warning (bug 1685329), both of these issues will be resolved.
(bouncing needinfo to ensure this doesn't get lost)
Reporter | ||
Comment 6•3 years ago
|
||
Thank you, Gijs! Marking Firefox 90.0a1 (20210520095745) as verified based on the above.
Comment 7•3 years ago
|
||
Can we please uplift to Beta 89?
Assignee | ||
Comment 8•3 years ago
|
||
Comment on attachment 9222373 [details]
Bug 1711466 - do not open window-internal modal prompts if the window is in a modal state through some other code, r?pbz
Beta/Release Uplift Approval Request
- User impact if declined: Broken browser if you try to quit when the primary password prompt is up
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment 0 / comment 4 and later
- List of other uplifts needed: n/a
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Relatively minor JS-only changes, with automated test coverage.
- String changes made/needed: None
Assignee | ||
Updated•3 years ago
|
Comment 9•3 years ago
|
||
Comment on attachment 9222373 [details]
Bug 1711466 - do not open window-internal modal prompts if the window is in a modal state through some other code, r?pbz
Approved for our last beta before 89 RC, thanks.
Comment 10•3 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Reporter | ||
Comment 11•3 years ago
|
||
Verified fixed with Firefox 89.0b15 (20210520185752) on macOS 11.3.1. The browser is no longer stuck after following the STR from comment 0. Also, the Close tabs and exit window is not displayed if triggered while the Primary Password modal is active.
Updated•1 year ago
|
Description
•