Files
react-native-devtools-frontend/front_end/core/protocol_client
Nina Satragno nsatragno@chromium.org b5a6c63042 [webauthn] Switch from polling to events
Previously, the devtools frontend would poll the browser for webauthn
credentials every second or so, and rebuild the credential table every
time. This is a waste and also makes selecting text impossible.

Fix this by listening to the newly introduced webauthn protocol events
WebAuthn.credentialAdded and WebAuthn.credentialAsserted. Also, add much
needed tests for adding & removing credentials.

Fixed: 1112528
Change-Id: Ic49c42de607dd1c9039680cff457b19c50f06674
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4080435
Commit-Queue: Changhao Han <changhaohan@chromium.org>
Reviewed-by: Changhao Han <changhaohan@chromium.org>
Auto-Submit: Nina Satragno <nsatragno@chromium.org>
2022-12-07 22:58:41 +00:00
..
2021-04-26 13:40:20 +00:00