Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Issue 2110163002: Correctly set initiated_in_secure_context on requests from shared/service workers, (Closed)

Created:
4 years, 5 months ago by Marijn Kruisselbrink
Modified:
4 years, 5 months ago
Reviewers:
horo
CC:
blink-reviews, blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, falken, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, kinuko+watch, kinuko+serviceworker, michaeln, mlamouri+watch-content_chromium.org, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@skip-service-worker-foreign-fetch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Correctly set initiated_in_secure_context on requests from shared/service workers, This field was added in https://crrev.com/dd933bda0baa6a13ab0120f0056a2b783e459efb to limit foreign fetch to only intercept requests made from secure contexts, but wasn't set for shared and service worker initiated requests. So this fixes intercepting requests made from shared and service workers by a foreign fetch service worker. BUG=540509 Committed: https://crrev.com/ebb3beacf3c308eb79b4f3e034a8144df0a16a18 Cr-Commit-Position: refs/heads/master@{#403372}

Patch Set 1 #

Total comments: 6

Patch Set 2 : wrap layout test at 80 columns #

Messages

Total messages: 11 (5 generated)
Marijn Kruisselbrink
4 years, 5 months ago (2016-06-29 22:47:47 UTC) #3
horo
This patch lgtm. But if the fetch request from SW goes to the other SW, ...
4 years, 5 months ago (2016-06-30 10:12:09 UTC) #4
Marijn Kruisselbrink
On 2016/06/30 at 10:12:09, horo wrote: > But if the fetch request from SW goes ...
4 years, 5 months ago (2016-06-30 22:43:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2110163002/20001
4 years, 5 months ago (2016-06-30 23:05:02 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-01 00:32:54 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 00:34:15 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ebb3beacf3c308eb79b4f3e034a8144df0a16a18
Cr-Commit-Position: refs/heads/master@{#403372}

Powered by Google App Engine
This is Rietveld 408576698