Closed Bug 1388854 Opened 7 years ago Closed 7 years ago

Add tests for tab switch cancellation behavior in Web Authentication

Categories

(Core :: DOM: Device Interfaces, enhancement, P3)

Other Branch
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: jcj, Assigned: ttaubert)

References

Details

(Whiteboard: [webauthn] [webauthn-test])

Bug 1383799 adds the function to cancel ongoing WebAuthn transactions in flight on tab switch / visibility change, but this is hard to test currently because the U2F Soft Token is synchronous and returns instantly. This bug is to investigate how to make this testable, possibly by making the Soft Token async and adding delays to it.
Since https://bugzilla.mozilla.org/show_bug.cgi?id=1383799#c12 indicates we have a QA test for this behavior, this bug -- while useful -- is lower priority. Changing it to no longer block webauthn, and P3.
No longer blocks: webauthn
Priority: P2 → P3
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
The patch for bug 1415675 has a test for this scenario.
Depends on: 1415675
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.