Skip to content

Digital Credentials: conditionally enable the API based on entitlement #47105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

marcoscaceres
Copy link
Contributor

@marcoscaceres marcoscaceres commented Jun 24, 2025

@marcoscaceres marcoscaceres self-assigned this Jun 24, 2025
Copy link
Contributor

@annevk annevk left a comment

Choose a reason for hiding this comment

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

Also, is this never called outside the web process?

@marcoscaceres marcoscaceres force-pushed the eng/Digital-Credentials-conditionally-enable-the-API-based-on-entitlement branch from 2d98ecb to ec0df08 Compare June 25, 2025 04:48
@marcoscaceres
Copy link
Contributor Author

Also, is this never called outside the web process?

Yes, it's called form the UI Process too, so good catch there.

@marcoscaceres marcoscaceres force-pushed the eng/Digital-Credentials-conditionally-enable-the-API-based-on-entitlement branch from ec0df08 to 9e3337b Compare June 25, 2025 04:52
@marcoscaceres marcoscaceres force-pushed the eng/Digital-Credentials-conditionally-enable-the-API-based-on-entitlement branch from 9e3337b to b1f59af Compare June 25, 2025 06:36
@marcoscaceres marcoscaceres force-pushed the eng/Digital-Credentials-conditionally-enable-the-API-based-on-entitlement branch from b1f59af to 5c50a53 Compare June 25, 2025 06:44
@marcoscaceres marcoscaceres added the merge-queue Applied to send a pull request to merge-queue label Jun 26, 2025
rdar://152637111
https://bugs.webkit.org/show_bug.cgi?id=294889

Reviewed by Abrar Rahman Protyasha and Pascoe.

Conditionally enable the Digital Credentials API based on the appropriate entitlements.

* Source/WebKit/Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultDigitalCredentialsEnabled):

Canonical link: https://commits.webkit.org/296643@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Digital-Credentials-conditionally-enable-the-API-based-on-entitlement branch from 5c50a53 to bad1636 Compare June 26, 2025 01:35
@webkit-commit-queue
Copy link
Collaborator

Committed 296643@main (bad1636): https://commits.webkit.org/296643@main

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

@webkit-commit-queue webkit-commit-queue merged commit bad1636 into WebKit:main Jun 26, 2025
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants