mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 11:31:31 +08:00
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>