Skip to content

Conversation

@marcoscaceres
Copy link
Contributor

@marcoscaceres marcoscaceres commented Feb 28, 2024

3850dd4

CredentialRequestOptions gains a "digital" member
https://bugs.webkit.org/show_bug.cgi?id=270196
rdar://123744112

Reviewed by Anne van Kesteren.

Adds "digital" member to CredentialRequestOptions dictionary:
https://wicg.github.io/digital-identities/#extensions-to-credentialrequestoptions-dictionary

Given the spec changed names again, changed pref name to DigitalIdentityEnabled and updated a few files to reflect the name change.

* LayoutTests/http/wpt/credential-management/setDigitalCredentialsEnable.https-expected.txt: Copied from LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https-expected.txt.
* LayoutTests/http/wpt/credential-management/setDigitalCredentialsEnable.https.html: Renamed from LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https.html.
* LayoutTests/http/wpt/credential-management/setDigitalCreditialsEnable.https-expected.txt: Renamed from LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https-expected.txt.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Modules/credentialmanagement/CredentialRequestOptions.h:
* Source/WebCore/Modules/credentialmanagement/CredentialRequestOptions.idl:
* Source/WebCore/Modules/credentialmanagement/DigitalCredential.idl:
* Source/WebCore/Modules/identity/Navigator+Identity.idl:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:

Canonical link: https://commits.webkit.org/275616@main

2211983

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 wincairo
✅ 🧪 bindings 🛠 ios-sim ✅ 🛠 mac-AS-debug ✅ 🧪 wpe-wk2
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
❌ 🧪 ios-wk2-wpt ✅ 🧪 mac-wk1 ✅ 🛠 gtk
✅ 🛠 🧪 jsc ✅ 🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🧪 gtk-wk2
✅ 🛠 🧪 jsc-arm64 ✅ 🛠 tv ✅ 🧪 mac-AS-debug-wk2 ✅ 🧪 api-gtk
✅ 🛠 tv-sim ✅ 🛠 jsc-armv7
✅ 🛠 🧪 merge ✅ 🛠 watch ✅ 🧪 jsc-armv7-tests
✅ 🛠 watch-sim

@marcoscaceres marcoscaceres self-assigned this Feb 28, 2024
@marcoscaceres marcoscaceres added the WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit). label Feb 28, 2024
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Feb 28, 2024
@marcoscaceres marcoscaceres removed the merging-blocked Applied to prevent a change from being merged label Feb 29, 2024
@marcoscaceres marcoscaceres force-pushed the eng/CredentialRequestOptions-gains-a-digital-member branch from 82a6e37 to c7a1eab Compare February 29, 2024 07:45
@marcoscaceres marcoscaceres force-pushed the eng/CredentialRequestOptions-gains-a-digital-member branch from c7a1eab to cbb2eeb Compare February 29, 2024 07:50
@marcoscaceres marcoscaceres marked this pull request as ready for review February 29, 2024 07:51
@marcoscaceres marcoscaceres force-pushed the eng/CredentialRequestOptions-gains-a-digital-member branch from cbb2eeb to 20bb0a3 Compare February 29, 2024 08:35
@marcoscaceres marcoscaceres requested a review from whsieh February 29, 2024 08:38
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Feb 29, 2024
@marcoscaceres marcoscaceres removed the merging-blocked Applied to prevent a change from being merged label Mar 1, 2024
@marcoscaceres marcoscaceres force-pushed the eng/CredentialRequestOptions-gains-a-digital-member branch from 20bb0a3 to 460f3e8 Compare March 1, 2024 01:54
@marcoscaceres marcoscaceres force-pushed the eng/CredentialRequestOptions-gains-a-digital-member branch from 460f3e8 to 1165b35 Compare March 1, 2024 06:50
@marcoscaceres marcoscaceres requested a review from annevk March 1, 2024 06:50
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Mar 1, 2024
@marcoscaceres marcoscaceres removed the merging-blocked Applied to prevent a change from being merged label Mar 4, 2024
@marcoscaceres marcoscaceres force-pushed the eng/CredentialRequestOptions-gains-a-digital-member branch from 1165b35 to 2211983 Compare March 4, 2024 04:05
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why this file is changed as you're not changing any files. Seems best to leave out of this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are needed to otherwise the DigitalCredentialRequestOptions.h doesn't end up in "private headers", and then it won't compile.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see, it wasn't included before. Okay.

@marcoscaceres marcoscaceres added the merge-queue Applied to send a pull request to merge-queue label Mar 4, 2024
https://bugs.webkit.org/show_bug.cgi?id=270196
rdar://123744112

Reviewed by Anne van Kesteren.

Adds "digital" member to CredentialRequestOptions dictionary:
https://wicg.github.io/digital-identities/#extensions-to-credentialrequestoptions-dictionary

Given the spec changed names again, changed pref name to DigitalIdentityEnabled and updated a few files to reflect the name change.

* LayoutTests/http/wpt/credential-management/setDigitalCredentialsEnable.https-expected.txt: Copied from LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https-expected.txt.
* LayoutTests/http/wpt/credential-management/setDigitalCredentialsEnable.https.html: Renamed from LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https.html.
* LayoutTests/http/wpt/credential-management/setDigitalCreditialsEnable.https-expected.txt: Renamed from LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https-expected.txt.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Modules/credentialmanagement/CredentialRequestOptions.h:
* Source/WebCore/Modules/credentialmanagement/CredentialRequestOptions.idl:
* Source/WebCore/Modules/credentialmanagement/DigitalCredential.idl:
* Source/WebCore/Modules/identity/Navigator+Identity.idl:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:

Canonical link: https://commits.webkit.org/275616@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/CredentialRequestOptions-gains-a-digital-member branch from 2211983 to 3850dd4 Compare March 4, 2024 08:55
@webkit-commit-queue
Copy link
Collaborator

Committed 275616@main (3850dd4): https://commits.webkit.org/275616@main

Reviewed commits have been landed. Closing PR #25216 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 3850dd4 into WebKit:main Mar 4, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Mar 4, 2024
@marcoscaceres marcoscaceres deleted the eng/CredentialRequestOptions-gains-a-digital-member branch January 17, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants