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

Issue 2343053002: Service worker bypass for resource requests from suborigins (Closed)

Created:
4 years, 3 months ago by jww
Modified:
4 years, 3 months ago
Reviewers:
falken, Yoav Weiss
CC:
chromium-reviews, tyoshino+watch_chromium.org, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, Nate Chapin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Service worker bypass for resource requests from suborigins This implements a bypass of service workers for resource requests that originate in a service worker. They should not be intercepted by service workers that have been installed by the physical origin, and they cannot install their own service workers, so instead they should bypass the origin's service worker if it exists. BUG=336894 Committed: https://crrev.com/765fbff4e0bbe8be4c7c2c7393aa8e2b674ecc3e Cr-Commit-Position: refs/heads/master@{#420143}

Patch Set 1 #

Patch Set 2 : Update to handle MemCache #

Total comments: 11

Patch Set 3 : Nits from falken@ #

Total comments: 8

Patch Set 4 : More nits from falken #

Total comments: 2

Patch Set 5 : Rebase on ToT #

Patch Set 6 : Fix broken test #

Messages

Total messages: 24 (8 generated)
jww
falken@, can you take a look at this to see if I'm on the right ...
4 years, 3 months ago (2016-09-16 00:43:18 UTC) #2
jww
On 2016/09/16 00:43:18, jww wrote: > falken@, can you take a look at this to ...
4 years, 3 months ago (2016-09-17 00:00:10 UTC) #3
jww
yoav@yoav.ws: Would you mind taking a look at these changes with respect to suborigins (https://w3c.github.io/webappsec-suborigins/)? ...
4 years, 3 months ago (2016-09-19 18:06:18 UTC) #5
falken
https://codereview.chromium.org/2343053002/diff/20001/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js File third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js (right): https://codereview.chromium.org/2343053002/diff/20001/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js#newcode6 third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js:6: event.respondWith(fetch.event.request); BTW event.respondWith(request) and not calling respondWith at all ...
4 years, 3 months ago (2016-09-20 03:48:57 UTC) #6
jww
https://codereview.chromium.org/2343053002/diff/20001/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js File third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js (right): https://codereview.chromium.org/2343053002/diff/20001/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js#newcode6 third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js:6: event.respondWith(fetch.event.request); On 2016/09/20 03:48:57, falken (behind on reviews) wrote: ...
4 years, 3 months ago (2016-09-20 04:27:47 UTC) #7
falken
lgtm with nits Regarding CL description: "resource requests that originate in a service worker" should ...
4 years, 3 months ago (2016-09-20 04:52:52 UTC) #8
jww
Thanks, Matt! Yoav, would you mind OWNER reviewing core/*? Thanks! https://codereview.chromium.org/2343053002/diff/40001/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js File third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js (right): https://codereview.chromium.org/2343053002/diff/40001/third_party/WebKit/LayoutTests/http/tests/security/suborigins/resources/sw-reject-all-with-error.js#newcode7 ...
4 years, 3 months ago (2016-09-20 17:52:27 UTC) #9
Yoav Weiss
core/ (RS)LGTM. I don't feel that I understand the SW mechanics enough, but trust that ...
4 years, 3 months ago (2016-09-21 15:13:09 UTC) #10
Yoav Weiss
Also, apologies for the late review. TPAC week, so meetings and beers got in the ...
4 years, 3 months ago (2016-09-21 15:14:35 UTC) #11
jww
On 2016/09/21 15:13:09, Yoav Weiss wrote: > core/ (RS)LGTM. I don't feel that I understand ...
4 years, 3 months ago (2016-09-21 16:23:41 UTC) #12
jww
Thanks for the review, Yoav, and no worries on the timing; I figured you were ...
4 years, 3 months ago (2016-09-21 16:38:12 UTC) #15
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/2343053002/80001
4 years, 3 months ago (2016-09-21 16:38:19 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/297112)
4 years, 3 months ago (2016-09-21 18:14:30 UTC) #18
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/2343053002/100001
4 years, 3 months ago (2016-09-21 18:45:36 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-21 20:11:52 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 20:15:47 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/765fbff4e0bbe8be4c7c2c7393aa8e2b674ecc3e
Cr-Commit-Position: refs/heads/master@{#420143}

Powered by Google App Engine
This is Rietveld 408576698