Add extensions to get() and create() to enable cloud-assisted BLE (a pairingless BLE connection).
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a commit c04ce6838b673646a77d4587e1e0a19eb0d7fe9a Author: Kim Paulhamus <kpaulhamus@chromium.org> Date: Mon May 14 20:14:10 2018 Implement the caBLE registration and authentication extensions. This CL adds the extension at the Blink layer and in authenticator.mojom and includes typeconverters and layout tests. This will be used by cloud-assisted BLE, a protocol used by the WebAuthN API to communicate with certain BLE devices without explicit pairing. Also, note that this extension is in early stages of standardization and still being presented to the working group, so names and such will likely change in future versions. This is a low-risk feature - its functionality will be behind a flag, and if a request is made with either the registration or authentication extensions and the feature is disabled, then the request will proceed normally as if the extension was not used at all. Bug: 840153 Change-Id: I554452d5702511f77f47666a2abf35bf5bd9d99e Reviewed-on: https://chromium-review.googlesource.com/1046110 Commit-Queue: Kim Paulhamus <kpaulhamus@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#558432} [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/content/browser/webauth/webauth_browsertest.cc [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-create-basics.html [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/test-inputs.js [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/blink/public/platform/modules/webauth/authenticator.mojom [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/blink/renderer/modules/credentialmanager/authentication_extensions_client_inputs.idl [add] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/blink/renderer/modules/credentialmanager/cable_authentication_data.idl [add] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/blink/renderer/modules/credentialmanager/cable_registration_data.idl [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/blink/renderer/modules/credentialmanager/credential_manager_type_converters.cc [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/blink/renderer/modules/credentialmanager/credential_manager_type_converters.h [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/blink/renderer/modules/credentialmanager/credentials_container.cc [modify] https://crrev.com/c04ce6838b673646a77d4587e1e0a19eb0d7fe9a/third_party/blink/renderer/modules/modules_idl_files.gni
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5b08906ae5744fa666c1f8552f92c57f9817f469 commit 5b08906ae5744fa666c1f8552f92c57f9817f469 Author: Kim Paulhamus <kpaulhamus@chromium.org> Date: Wed May 30 13:55:15 2018 Update extension version for register to be an array of versions The array represents all versions the RP supports. Bug: 840153 Change-Id: I150e80d2e9d5149fac39400eca69d680cc86307a Reviewed-on: https://chromium-review.googlesource.com/1060273 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Balazs Engedy <engedy@chromium.org> Commit-Queue: Kim Paulhamus <kpaulhamus@chromium.org> Cr-Commit-Position: refs/heads/master@{#562809} [modify] https://crrev.com/5b08906ae5744fa666c1f8552f92c57f9817f469/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/test-inputs.js [modify] https://crrev.com/5b08906ae5744fa666c1f8552f92c57f9817f469/third_party/blink/public/platform/modules/webauth/authenticator.mojom [modify] https://crrev.com/5b08906ae5744fa666c1f8552f92c57f9817f469/third_party/blink/renderer/modules/credentialmanager/cable_registration_data.idl [modify] https://crrev.com/5b08906ae5744fa666c1f8552f92c57f9817f469/third_party/blink/renderer/modules/credentialmanager/credential_manager_type_converters.cc
Comment 1 by kpaulhamus@chromium.org
, May 6 2018