Closed Bug 1992036 Opened 2 months ago Closed 2 months ago

Force-reshowing the toolbox in fullscreen mode when a webauthn prompt is up is broken

Categories

(Core :: DOM: Web Authentication, defect)

defect

Tracking

()

VERIFIED FIXED
145 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox143 --- unaffected
firefox144 --- verified
firefox145 --- verified

People

(Reporter: Gijs, Assigned: Gijs)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

See bug 1880918 comment 8:

(In reply to Henry Wilkes (they/them) [:henry-x])

@Gijs should this line also be changed to

Services.obs.notifyObservers(gNavToolbox, "fullscreen-nav-toolbox", "hidden");

Otherwise, I think this line will throw an error since aSubject will be null. I've not tested it in practice myself.

This analysis looks correct to me. I must have lost the change in a rebase or something, I remember at some point doing the replacements and later being confused about how many there were, but somehow managed to convince myself that there wasn't one missing in the end - clearly I was wrong. :-\

Set release status flags based on info from the regressing bug 1880918

Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Severity: -- → S4
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch

The patch landed in nightly and beta is affected.
:Gijs, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(gijskruitbosch+bugs)

firefox-release Uplift Approval Request

  • User impact if declined: Potentially the toolbox doesn't get reshown if there is a webauthn prompt "fighting" with fullscreen. It's not entirely clear to me how urgent/bad this is, but equally the patch is very straightforward.
  • Code covered by automated testing: no
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: re-verify https://bugzilla.mozilla.org/show_bug.cgi?id=1823720 on at least Windows and macOS/Linux
  • Risk associated with taking this patch: low
  • Explanation of risk level: One line patch
  • String changes made/needed: No
  • Is Android affected?: no
Attachment #9518752 - Flags: approval-mozilla-release?
Flags: qe-verify+
Flags: needinfo?(gijskruitbosch+bugs)
QA Whiteboard: [uplift] [qa-ver-needed-c145/b144]
QA Contact: sbadau
Attached video Prompt on Ubuntu

I can confirm that the full-screen toast is displayed after dismissing the WebAuthn prompt from Bug 1823720 on the latest Nightly 145.0a1 on macOS 15 and Windows 11.

On Ubuntu 25.04 I cannot enter full screen: when clicking the test page I get a “Touch your security key to continue” prompt (please see attached video) and full screen is automatically exited.

@Gijs, is there any way to bypass this prompt so I can verify the appearance of the fullscreen toolbox on Ubuntu 25.04?

Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(gijskruitbosch+bugs)
Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Simona Badau, Desktop QA from comment #8)

Created attachment 9518945 [details]
Prompt on Ubuntu

I can confirm that the full-screen toast is displayed after dismissing the WebAuthn prompt from Bug 1823720 on the latest Nightly 145.0a1 on macOS 15 and Windows 11.

On Ubuntu 25.04 I cannot enter full screen: when clicking the test page I get a “Touch your security key to continue” prompt (please see attached video) and full screen is automatically exited.

@Gijs, is there any way to bypass this prompt so I can verify the appearance of the fullscreen toolbox on Ubuntu 25.04?

I think if it's working on Windows and macOS that is probably sufficient right now? I think the race condition probably just plays out slightly differently on your Ubuntu machine vs. macOS, and that is OK.

Flags: needinfo?(gijskruitbosch+bugs)

(In reply to :Gijs (he/him) from comment #9)

I think if it's working on Windows and macOS that is probably sufficient right now? I think the race condition probably just plays out slightly differently on your Ubuntu machine vs. macOS, and that is OK.

Thank you, Gijs!
Based on this and Comment 8, marking the tracking flag for 145 as verified.

Attachment #9518752 - Flags: approval-mozilla-release? → approval-mozilla-release+

Verified as fixed using Firefox 142 (Build ID: 20251009125714) on Windows 11 and macOS 15 - full-screen toast is displayed after dismissing the WebAuthn prompt from Bug 1823720.

Status: RESOLVED → VERIFIED
QA Whiteboard: [uplift] [qa-ver-needed-c145/b144] → [uplift] [qa-ver-done-c145/b144]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: