Skip to content

Commit 7ef1533

Browse files
authored
browser(webkit): one more mac build fix after last roll (#4298)
1 parent 3577e63 commit 7ef1533

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

browser_patches/webkit/BUILD_NUMBER

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1372
2-
Changed: [email protected] Fri 30 Oct 2020 02:45:51 PM PDT
1+
1373
2+
Changed: [email protected] Fri 30 Oct 2020 04:14:22 PM PDT

browser_patches/webkit/patches/bootstrap.diff

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12594,7 +12594,7 @@ index 0000000000000000000000000000000000000000..6d04f9290135069359ce6bf872654648
1259412594
+
1259512595
+#endif // ENABLE(REMOTE_INSPECTOR)
1259612596
diff --git a/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm b/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm
12597-
index 4dc97e89390e85aaa55ede4ef2801e1b678b3dde..32e3ef06caed295b74a890a031465c82ab81462c 100644
12597+
index 4dc97e89390e85aaa55ede4ef2801e1b678b3dde..b522b3b792ae4e04beb6fbb3567913ed29f59f79 100644
1259812598
--- a/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm
1259912599
+++ b/Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm
1260012600
@@ -140,14 +140,14 @@ static Optional<Vector<Ref<AuthenticatorAssertionResponse>>> getExistingCredenti
@@ -12614,6 +12614,17 @@ index 4dc97e89390e85aaa55ede4ef2801e1b678b3dde..32e3ef06caed295b74a890a031465c82
1261412614
if (it == responseMap.end() || !it->second.isString()) {
1261512615
ASSERT_NOT_REACHED();
1261612616
return WTF::nullopt;
12617+
@@ -291,8 +291,8 @@ void LocalAuthenticator::continueMakeCredentialAfterUserVerification(SecAccessCo
12618+
const auto& secAttrLabel = creationOptions.rp.id;
12619+
12620+
cbor::CBORValue::MapValue userEntityMap;
12621+
- userEntityMap[cbor::CBORValue(kEntityIdMapKey)] = cbor::CBORValue(creationOptions.user.idVector);
12622+
- userEntityMap[cbor::CBORValue(kEntityNameMapKey)] = cbor::CBORValue(creationOptions.user.name);
12623+
+ userEntityMap[cbor::CBORValue(fido::kEntityIdMapKey)] = cbor::CBORValue(creationOptions.user.idVector);
12624+
+ userEntityMap[cbor::CBORValue(fido::kEntityNameMapKey)] = cbor::CBORValue(creationOptions.user.name);
12625+
auto userEntity = cbor::CBORWriter::write(cbor::CBORValue(WTFMove(userEntityMap)));
12626+
ASSERT(userEntity);
12627+
auto secAttrApplicationTag = toNSData(*userEntity);
1261712628
diff --git a/Source/WebKit/UIProcess/WebAuthentication/Mock/MockLocalConnection.h b/Source/WebKit/UIProcess/WebAuthentication/Mock/MockLocalConnection.h
1261812629
index ff90d3de4349c9a3385c20c059729b8e22ebe2e5..d5c4f2cd715551ddef6f5af93ada65cbe78ad213 100644
1261912630
--- a/Source/WebKit/UIProcess/WebAuthentication/Mock/MockLocalConnection.h

0 commit comments

Comments
 (0)