Web Authentication - Don't listen to visibility events
Categories
(Core :: DOM: Web Authentication, enhancement, P1)
Tracking
()
People
(Reporter: jcj, Assigned: jcj)
References
(Depends on 1 open bug)
Details
(Whiteboard: [webauthn][webauthn-ux])
Attachments
(1 file, 1 obsolete file)
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 7•6 years ago
|
||
The published recommendation of L1 for WebAuthn changed the visibility/focus listening behaviors to a SHOULD [1], and Chromium, for these sorts of reasons, opted to not interrupt on tabswitch/visibility change. Let's do the same thing.
Great news! I hadn't realized that Soft U2F was working with Chrome now for WebAuthn. Great news also to hear that it will work with FF.
Assignee | ||
Comment 9•6 years ago
|
||
The published recommendation of L1 for WebAuthn changed the visibility/focus
listening behaviors to a SHOULD [1], and Chromium, for reasons like our SoftU2F
bug [0], opted to not interrupt on tabswitch/visibility change.
Let's do the same thing.
This removes the abort visibility mechanism entirely, test and all.
[0] https://bugzilla.mozilla.org/show_bug.cgi?id=1448408#c0
[1] https://www.w3.org/TR/webauthn-1/#abortoperation
Updated•6 years ago
|
Assignee | ||
Comment 10•6 years ago
|
||
The published recommendation of L1 for WebAuthn changed the visibility/focus
listening behaviors to a SHOULD [1], and Chromium, for reasons like our SoftU2F
bug [0], opted to not interrupt on tabswitch/visibility change.
Let's do the same thing.
This changes the visibility mechanism to set a flag on an ongoing transaction,
and then, upon multiple calls to the FIDO/U2F functions, only aborts if
visibility had changed. Otherwise, subsequent callers return early.
This is harder to explain than it is really to use as a user. I think. At least,
my testing feels natural when I'm working within two windows, both potentially
prompting WebAuthn.
[0] https://bugzilla.mozilla.org/show_bug.cgi?id=1448408#c0
[1] https://www.w3.org/TR/webauthn-1/#abortoperation
Update FIDO U2F API to also take the stance of visibility events being
not-bad.
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•5 years ago
|
Description
•