forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ServiceWorkerBypassFetchHandler params to use sha256 checksum
This CL updates the existing kServiceWorkerBypassFetchHandler feature params to accept sha256 script checksum hash strings as an allowlist. It renames the param from `kServiceWorkerBypassFetchHandlerBypassedOrigins` to `kServiceWorkerBypassFetchHandlerBypassedHashStrings`, and changes `ShouldBypassFetchHandlerForMainResource()` in ServiceWorkerControlleeRequestHandler to check sha256 checksum strings rather than origins to decide if the fetch handler can be bypassed or not. (cherry picked from commit 71045c0) Bug: 1371756 Change-Id: I6c9c8d520f1708e2b06d96e2e4f642d87281e792 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4190769 Reviewed-by: Arthur Sonzogni <[email protected]> Reviewed-by: Yoshisato Yanagisawa <[email protected]> Reviewed-by: Minoru Chikamune <[email protected]> Commit-Queue: Shunya Shishido <[email protected]> Cr-Original-Commit-Position: refs/heads/main@{#1097785} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4199796 Commit-Queue: Arthur Sonzogni <[email protected]> Auto-Submit: Shunya Shishido <[email protected]> Bot-Commit: Rubber Stamper <[email protected]> Cr-Commit-Position: refs/branch-heads/5563@{#19} Cr-Branched-From: 3ac59a6-refs/heads/main@{#1097615}
- Loading branch information
1 parent
0ccb621
commit 608f80a
Showing
5 changed files
with
55 additions
and
93 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
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