Skip to content

Conversation

@marcoscaceres
Copy link
Contributor

In WebKit, we generally only import one directory at a time, so having things in multiple directories means things get out of sync easily.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates the digital credentials permissions policy test files by moving them from a shared /permissions-policy/resources/ directory into the /digital-credentials/permissions-policy/ subdirectory. This change addresses a WebKit import workflow limitation where only one directory is imported at a time, preventing files from getting out of sync.

  • Adds two new test helper files for permissions policy testing in the digital-credentials directory
  • Updates all path references across four test files to point to the new location

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
digital-credentials/permissions-policy/get.html New iframe helper for testing digital credentials get() API with permissions policy
digital-credentials/permissions-policy/create.html New iframe helper for testing digital credentials create() API with permissions policy
digital-credentials/get.disabled-by-permissions-policy.https.sub.html Updated path reference from /permissions-policy/resources/ to /digital-credentials/permissions-policy/
digital-credentials/enabled-on-self-origin-by-permissions-policy.https.sub.html Updated both get and create path references to new location
digital-credentials/default-permissions-policy.https.sub.html Updated both get and create path references to new location
digital-credentials/create.disabled-by-permissions-policy.https.sub.html Updated path reference from /permissions-policy/resources/ to /digital-credentials/permissions-policy/

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marcoscaceres marcoscaceres enabled auto-merge (squash) December 2, 2025 07:00
Copy link
Contributor

@mohamedamir mohamedamir left a comment

Choose a reason for hiding this comment

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

I tried to search in the code base to find precedence but I couldn't find any.
But I think it's a reasonable change.

@marcoscaceres marcoscaceres merged commit 3a40f29 into master Dec 2, 2025
30 checks passed
@marcoscaceres marcoscaceres deleted the permission-policy branch December 2, 2025 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants