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

Issue 2032653003: Limit foreign fetch to only intercept requests made from secure contexts. (Closed)

Created:
4 years, 6 months ago by Marijn Kruisselbrink
Modified:
4 years, 6 months ago
Reviewers:
kinuko, dcheng
CC:
blink-reviews, blink-worker-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, falken, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, kinuko+serviceworker, kinuko+watch, loading-reviews_chromium.org, michaeln, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nhiroki, ncarter (slow), serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Limit foreign fetch to only intercept requests made from secure contexts. Implements step 5 of "Handle Foreign Fetch" in [1] [1]: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#on-foreign-fetch-request-algorithm BUG=540509 Committed: https://crrev.com/dd933bda0baa6a13ab0120f0056a2b783e459efb Committed: https://crrev.com/c9ce61d2dda342354302a9337910094a835213d2 Cr-Original-Commit-Position: refs/heads/master@{#398752} Cr-Commit-Position: refs/heads/master@{#399870}

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix indent in test #

Patch Set 3 : properly initialize new ResourceRequest member #

Messages

Total messages: 31 (12 generated)
Marijn Kruisselbrink
4 years, 6 months ago (2016-06-02 18:35:24 UTC) #5
kinuko
https://codereview.chromium.org/2032653003/diff/20001/content/browser/service_worker/foreign_fetch_request_handler.cc File content/browser/service_worker/foreign_fetch_request_handler.cc (right): https://codereview.chromium.org/2032653003/diff/20001/content/browser/service_worker/foreign_fetch_request_handler.cc#newcode68 content/browser/service_worker/foreign_fetch_request_handler.cc:68: return; This makes me feel if we should just ...
4 years, 6 months ago (2016-06-03 09:17:16 UTC) #6
Marijn Kruisselbrink
https://codereview.chromium.org/2032653003/diff/20001/content/browser/service_worker/foreign_fetch_request_handler.cc File content/browser/service_worker/foreign_fetch_request_handler.cc (right): https://codereview.chromium.org/2032653003/diff/20001/content/browser/service_worker/foreign_fetch_request_handler.cc#newcode68 content/browser/service_worker/foreign_fetch_request_handler.cc:68: return; On 2016/06/03 at 09:17:16, kinuko wrote: > This ...
4 years, 6 months ago (2016-06-06 19:23:34 UTC) #7
kinuko
lgtm https://codereview.chromium.org/2032653003/diff/20001/content/browser/service_worker/foreign_fetch_request_handler.cc File content/browser/service_worker/foreign_fetch_request_handler.cc (right): https://codereview.chromium.org/2032653003/diff/20001/content/browser/service_worker/foreign_fetch_request_handler.cc#newcode68 content/browser/service_worker/foreign_fetch_request_handler.cc:68: return; On 2016/06/06 19:23:34, Marijn Kruisselbrink wrote: > ...
4 years, 6 months ago (2016-06-07 06:55:57 UTC) #8
Marijn Kruisselbrink
+dcheng for IPC OWNERS
4 years, 6 months ago (2016-06-07 17:51:20 UTC) #10
Marijn Kruisselbrink
On 2016/06/07 at 17:51:20, Marijn Kruisselbrink wrote: > +dcheng for IPC OWNERS dcheng: ping?
4 years, 6 months ago (2016-06-08 16:07:29 UTC) #11
dcheng
The CL looks fine. But I've noticed there's been a lot of SW CLs that ...
4 years, 6 months ago (2016-06-08 18:08:01 UTC) #12
Marijn Kruisselbrink
On 2016/06/08 at 18:08:01, dcheng wrote: > The CL looks fine. But I've noticed there's ...
4 years, 6 months ago (2016-06-08 18:17:47 UTC) #13
dcheng
On 2016/06/08 at 18:17:47, mek wrote: > On 2016/06/08 at 18:08:01, dcheng wrote: > > ...
4 years, 6 months ago (2016-06-08 18:22:03 UTC) #14
Marijn Kruisselbrink
On 2016/06/08 at 18:22:03, dcheng wrote: > On 2016/06/08 at 18:17:47, mek wrote: > > ...
4 years, 6 months ago (2016-06-08 18:36:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032653003/40001
4 years, 6 months ago (2016-06-08 18:37:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032653003/40001
4 years, 6 months ago (2016-06-08 23:33:53 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 6 months ago (2016-06-09 00:52:16 UTC) #21
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/dd933bda0baa6a13ab0120f0056a2b783e459efb Cr-Commit-Position: refs/heads/master@{#398752}
4 years, 6 months ago (2016-06-09 00:53:24 UTC) #23
Marijn Kruisselbrink
A revert of this CL (patchset #2 id:40001) has been created in https://codereview.chromium.org/2049723004/ by mek@chromium.org. ...
4 years, 6 months ago (2016-06-09 03:41:20 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032653003/60001
4 years, 6 months ago (2016-06-15 08:45:58 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 6 months ago (2016-06-15 09:45:46 UTC) #28
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-15 09:45:52 UTC) #29
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 09:49:24 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c9ce61d2dda342354302a9337910094a835213d2
Cr-Commit-Position: refs/heads/master@{#399870}

Powered by Google App Engine
This is Rietveld 408576698