Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Permissions Policy] Switch to CSP Parser
This is mostly plug and play, and many of the restrictions can be lifted in future if we expand the wildcard types supported here. The changes in the CSP code are just to move the function into exportable namespace. The test changes are mostly to evaluate new cases and to prevent domains like *.example.com from being parsed as %2A.example.com because that's not real or helpful anyway. The changes here have no impact on permissions for valid targets that we were already parsing. Bug: 1418009 Change-Id: I5031adecbe33decce720bb44f78e70d555e2e450 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4436090 Reviewed-by: Ian Clelland <[email protected]> Auto-Submit: Ari Chivukula <[email protected]> Reviewed-by: Daniel Murphy <[email protected]> Code-Coverage: Findit <[email protected]> Commit-Queue: Daniel Murphy <[email protected]> Cr-Commit-Position: refs/heads/main@{#1132524}
- Loading branch information