Closed Bug 1580319 Opened 5 years ago Closed 5 years ago

gUM prompt with disabled "Allow" button. No way to proceed

Categories

(Firefox :: Site Permissions, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 71
Tracking Status
firefox69 --- wontfix
firefox70 --- verified
firefox71 --- verified

People

(Reporter: jib, Assigned: johannh)

References

Details

Attachments

(2 files)

Attached image DisabledAllow.png

STRs:

  1. Open https://jan-ivar.github.io/dummy/gdm.html but don't answer the prompt (leave it open).
  2. In a separate tab, open https://jsfiddle.net/jib1/pz5pynyf/

Expected result: A prompt with choices "Don't Allow" and "Allow"

Actual result: "Allow" choice is disabled, with no way to enable it (see screenshot).

Workaround: None. Closing the other tab and refreshing this tab does not bring the "Allow" button back for me. Once I'm in this state, I have to restart Firefox to get "Allow" enabled again.

Flags: needinfo?(jhofmann)

This appears to be another case where prompt state bleeds between tabs.

Yuup, that doesn't look good.

Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Flags: needinfo?(jhofmann)
Priority: P2 → P1

In getUserMedia we didn't use to have prompts without a checkbox, thus this bug couldn't manifest.
Now we do hide the checkbox for iframes, so this code path is triggered and doesn't properly
reset the UI state between prompts.

Pushed by jhofmann@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/09bdee778e59
Clear PopupNotifications UI state when no checkbox is present. r=prathiksha
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71

Jib, do you think we should uplift this to 70? The fix is relatively straightforward, though I'd give it a few days of bake time for the add-ons changes at least.

Flags: needinfo?(jib)

Fix LGTM on testing. The only issues I ran into were known bugs bug 1539938 and bug 1517030 which are low priority and not regressions.

Looks baked. I recommend uplift to 70 to avoid regressing release here. Wanna write the uplift request?

Flags: needinfo?(jib) → needinfo?(jhofmann)

Comment on attachment 9092788 [details]
Bug 1580319 - Clear PopupNotifications UI state when no checkbox is present. r=prathiksha

Beta/Release Uplift Approval Request

  • User impact if declined: Users can break their camera/microphone prompts until restart by showing a screensharing prompt in another tab at the same time.
  • 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.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): A relatively simple front-end patch, permission prompts are well covered with tests, has baked for a while on Nightly. Should probably still be verified by QA.
  • String changes made/needed: None
Flags: needinfo?(jhofmann)
Attachment #9092788 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

I have managed to reproduce this issue using Firefox 71.0a1 (BuildId:20190910213950) on Windows 10 64bit.

This issue is verified fixed using Firefox 71.0a1 (BuildId:20190924215237) on Windows 10 64bit, macOS 10.13.6 and Ubuntu 18.04 64bit.

Status: RESOLVED → VERIFIED
Flags: qe-verify+

Leaving a ni? and the qe-verify+ flag until this gets verified on beta as well (when time comes).

Flags: qe-verify+
Flags: needinfo?(emil.ghitta)

Comment on attachment 9092788 [details]
Bug 1580319 - Clear PopupNotifications UI state when no checkbox is present. r=prathiksha

Thanks for the fast verify!
OK for uplift for beta 10.

Attachment #9092788 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

This issue is verified fixed using Firefox 70.0b10 (BuildId:20190926005616) on Windows 10 64bit, macOS 10.13.6 and Ubuntu 18.04 64bit.

Flags: qe-verify+
Flags: needinfo?(emil.ghitta)
Regressions: 1590479
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: