The Firefox process will not shut down after closing the browser if the Camera and Microphone are allowed in different tabs
Categories
(Firefox :: Site Permissions, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox73 | --- | unaffected |
firefox74 | + | verified |
firefox75 | + | verified |
People
(Reporter: rdoghi, Assigned: enndeakin)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
4.06 MB,
video/mp4
|
Details | |
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
[Affected versions]:
Nightly 75.0a1
[Affected platforms]:
Platforms: all
Steps :
- Open the Firefox Browser and https://jsfiddle.net/jib1/r60bzmrs/
- Alow the camera permission prompt.
- Open the Firefox Browser and https://jsfiddle.net/jib1/r60bzmrs/ in a second tab.
- Close the Firefox process.
Expected Results :
The Firefox process should close without issues.
Actual Results :
The Firefox process will not shutdown upon closing the browser.
Note: Please note that the same issue occurs with the microphone permission (or both at the same time) (https://jsfiddle.net/jib1/59og5vhn/).
After the user allows the microphone to start in two separate tabs and closing the browser the Firefox process will not shutdown.
This issue only occurs on Windows and Ubuntu, it seems Mac will shutdown the process if you quit the browser with right click > Quit.
I've also performed a Mozregression on this issue and here are the results :
Last known GOOD build:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=ea063dbb6c1b5cdfedbf232e234a7f9c492b44af&tochange=cf63a0b7bd7d7110fb917cf158097a6495c65ccd
First known BAD build:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d827ca47ac5bdc005f6854c2534cd0c4bcd37db0&tochange=cf63a0b7bd7d7110fb917cf158097a6495c65ccd
Comment 1•4 years ago
|
||
Maybe a regression from Bug 1601301?
Comment 2•4 years ago
|
||
[Tracking Requested - why for this release]: Regression causing shutdown hang.
Comment 3•4 years ago
|
||
Marking 74 as affected based on the regression range, Rares can you double check this affects the latest 74 beta build?
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 4•4 years ago
|
||
Yes, this issue only affects Firefox Beta 74 and Nightly 75.
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
Have a fix here. The issue is caused only when webrtc is used in subframes, where the indicator window is not being closed.
The underlying cause can also manifest on Mac. Closing the window leaves the sharing items on the Window menu, whereas they should be removed when no more sharing is used.
Assignee | ||
Comment 6•4 years ago
|
||
Comment 7•4 years ago
|
||
Neil, it seems the patch is r+, any reason not to land it? Our last betas for uplift are tomorrow and Friday, could we uplift it? Thanks
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0042f4581946 properly update the tab-indicator state when a tab is closed; it previously wasn't being removed properly from the per-tab indicator map when the indicator was from a subframe,r=johannh
Assignee | ||
Updated•4 years ago
|
Comment 9•4 years ago
|
||
bugherder |
Reporter | ||
Comment 10•4 years ago
|
||
This issue is Verified as Fixed in our latest Nightly build 75.0a1 (2020-02-26) on Windows 10 and Ubuntu 18.04.
Comment 11•4 years ago
|
||
Please request beta uplift asap so we can avoid shipping the regression in 74.
Assignee | ||
Comment 12•4 years ago
|
||
Comment on attachment 9127926 [details]
Bug 1616600, properly update the tab-indicator state when a tab is closed; it previously wasn't being removed properly from the per-tab indicator map when the indicator was from a subframe,r=johannh
Beta/Release Uplift Approval Request
- User impact if declined: When webrtc (video, screensharing) is used in some pages, closing the window doesn't close the indicator popup, leading users to think that the browser won't shutdown.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Just cleans up some state properly.
- String changes made/needed: None
Comment 13•4 years ago
|
||
Comment on attachment 9127926 [details]
Bug 1616600, properly update the tab-indicator state when a tab is closed; it previously wasn't being removed properly from the per-tab indicator map when the indicator was from a subframe,r=johannh
Low risk, covered by tests, uplift approved for 74 beta 9, thanks.
Comment 14•4 years ago
|
||
bugherder uplift |
Reporter | ||
Comment 15•4 years ago
|
||
This issue is verified as fixed in our latest Beta build 74.0b9 on Windows 10 and Ubuntu 18.04.
Description
•