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.
Split cache per request's includeCredentials
whatwg/fetch issue: whatwg/fetch#1253 Design doc: https://docs.google.com/document/d/1lvbiy4n-GM5I56Ncw304sgvY5Td32R6KHitjRXvkZ6U/edit# Add the feature "SplitCacheByIncludeCredentials". When enabled, it makes the HTTP cache to differentiate the requests sent anonymously from the ones sent with credentials. This avoids anonymous requests from getting responses requested with credentials. This aligns Chrome toward Firefox. See Firefox implementations: https://github.com/mozilla/gecko-dev/blob/b31b78eea683b0eb341c676adb422cd129909fe9/netwerk/protocol/http/nsHttpChannel.cpp#L4117 Goal after this patch is to start a finch experiment to check for potential performance regressions. VIRTUAL_OWNERS: This adds 13 tests from http-cache WPT directory to be run with the feature enabled. Tests are often "any.js" tests, causing 46 run. Bug: 1221529 Change-Id: I0f1c969eb2c3401e9548c5d1e6ec63570166d7e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3010379 Auto-Submit: Arthur Sonzogni <[email protected]> Reviewed-by: Mason Freed <[email protected]> Reviewed-by: Mike West <[email protected]> Reviewed-by: Camille Lamy <[email protected]> Reviewed-by: Maksim Orlovich <[email protected]> Commit-Queue: Arthur Sonzogni <[email protected]> Cr-Commit-Position: refs/heads/main@{#918101}
- Loading branch information
1 parent
9ed0f65
commit 54013f2
Showing
31 changed files
with
575 additions
and
132 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.