DescriptionEffectively disable foreign fetch when third party cookies are disabled.
This adds a check to make sure that the origin of the service worker is allowed
to run in the context of the "first party for cookies" (i.e. top-level document)
before starting it to handle a foreign fetch event. This makes sure service
workers with foreign fetch can't be used to bypass third-party cookie blocking.
BUG=540509
Committed: https://crrev.com/95e6429a2a60521f4d14b1d007d2ebfa02a9d370
Cr-Commit-Position: refs/heads/master@{#412748}
Patch Set 1 #
Total comments: 2
Patch Set 2 : null out resource_context_ #
Messages
Total messages: 16 (8 generated)
|