Skip to content

Permissions Policy: test that the allow attribute ignores wildcard hosts - #63313

Open
marcoscaceres wants to merge 1 commit into
masterfrom
marcoscaceres/pp-allow-wildcard-hosts
Open

marcoscaceres wants to merge 1 commit into
masterfrom
marcoscaceres/pp-allow-wildcard-hosts

Conversation

@marcoscaceres

Copy link
Copy Markdown
Contributor

Tests that the iframe allow attribute ignores allowlist entries whose host contains "*". Spec change: w3c/webappsec-permissions-policy#595.

@wpt-pr-bot

Copy link
Copy Markdown
Collaborator

There are no reviewers for this pull request. Please reach out on the chat room to get help with this. Thank you!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The focused tests correctly cover invalid wildcard entries and valid explicit-origin behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Adds coverage ensuring iframe allow attributes ignore wildcard-host entries while retaining valid explicit origins.

Changes:

  • Adds wildcard, mixed, and explicit-origin fullscreen policy tests.
  • Adds a helper page reporting document.fullscreenEnabled.
File Description
permissions-policy/​resources/​report-fullscreen-enabled.html Reports fullscreen policy availability to the parent.
permissions-policy/​permissions-policy-allow-attribute-wildcard-hosts.https.sub.html Tests wildcard-host handling in iframe allowlists.

đź’ˇ Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@marcoscaceres
marcoscaceres requested a review from annevk October 6, 2026 14:29

This branch has not been deployed

No deployments
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.

3 participants