-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Permissions Policy Wildcards] (4) Parse wildcard subdomain matches
This CL finally implements the critical `origin with subdomain wildcard parser` portion of the code! It's not a lot of code, but needs some deep testing to be sure we aren't opening ourselves up to trouble. WPTs are split into the next CL so that we don't distract from targeted review here. Design doc: w3c/webappsec-permissions-policy#482 This CL is part of a series: (1) Add function to detect subdomain matches (2) Use OriginWithPossibleWildcards in policy (3) Propagate node source to allow list parser (4) Parse wildcard subdomain matches (5) Support wildcards in getAllowlistForFeature (6) Add WPTs (7) Enable by default Bug: 1345994 Change-Id: Ic8dc79be3262cdd872987c818ce01e959cdce83a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3934705 Commit-Queue: Ari Chivukula <arichiv@chromium.org> Reviewed-by: Ian Clelland <iclelland@chromium.org> Auto-Submit: Ari Chivukula <arichiv@chromium.org> Cr-Commit-Position: refs/heads/main@{#1056237}
- Loading branch information
Showing
4 changed files
with
203 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.