Andrey, please take a look. Thank you! ^_^
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
// -1 is a special value to mean no signature counter.I'm a bit confused that not passing a signature counter does not mean "no signature counter" :-)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
// -1 is a special value to mean no signature counter.I'm a bit confused that not passing a signature counter does not mean "no signature counter" :-)
It's for backwards compatibility. When I designed this API, every real authenticator had a signature counter so if you didn't set it, you got one that counted from one. Then the industry shipped syncing authenticators (passkeys) that set the signature counter to zero all the time (i.e. they don't have one), and developers wanted a way to test that behaviour. But we don't want to break existing tests, hence this design.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[webauthn] Expose null signature counter to CDP
Expand WebAuthn virtual authenticator CDP commands to support setting a
null signature counter, and add support for modifying an existing
signature counter. This will be used to support an upgrade to the
WebAuthn webdriver commands.
Since CDP doesn't seem to support differentiating between an
integer value being missing or null, use -1 as a sentinel value to
indicate a counter missing. Webdriver will map null to -1.
See https://github.com/w3c/webauthn/pull/2382
TAG=agy
CONV=8a5aa474-7c70-4d3f-9d13-59d4a45e6971
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |