Commit 2e4fdc9e authored by Kim Paulhamus's avatar Kim Paulhamus Committed by Commit Bot

Set UserHandle to null instead of an empty ArrayBuffer for getAssertion.

https://www.w3.org/TR/webauthn/#ref-for-dom-authenticatorassertionresponse-userhandle

Bug: 847878
Change-Id: I8071207c15d3150a486133eb50cc7d00cbba5401
Reviewed-on: https://chromium-review.googlesource.com/1079200Reviewed-by: default avatarBalazs Engedy <engedy@chromium.org>
Commit-Queue: Kim Paulhamus <kpaulhamus@chromium.org>
Cr-Commit-Position: refs/heads/master@{#563073}
parent 50d157ac
......@@ -405,7 +405,7 @@ void OnGetAssertionComplete(
DOMArrayBuffer* user_handle =
credential->user_handle
? VectorToDOMArrayBuffer(std::move(*credential->user_handle))
: DOMArrayBuffer::Create(nullptr, 0);
: nullptr;
AuthenticatorAssertionResponse* authenticator_response =
AuthenticatorAssertionResponse::Create(client_data_buffer,
authenticator_buffer,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment