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

Issue 1870743002: Foreign fetch should not intercept same origin or main resource requests. (Closed)

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

Description

Foreign fetch should not intercept same origin or main resource requests. As specified in step 4 and 9 of https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#on-foreign-fetch-request-algorithm BUG=540509 Committed: https://crrev.com/b05fc6e9adea363eee39ae5e4de1db647b5de2b8 Cr-Commit-Position: refs/heads/master@{#387982}

Patch Set 1 #

Patch Set 2 : fix tests #

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : add same origin test, and unregister service workers in tests #

Total comments: 1

Patch Set 5 : add test for navigation case #

Total comments: 3

Patch Set 6 : fix function name style #

Messages

Total messages: 15 (5 generated)
Marijn Kruisselbrink
4 years, 8 months ago (2016-04-07 19:08:20 UTC) #3
falken
Looks good. I may just be missing it but where is the test for the ...
4 years, 8 months ago (2016-04-08 01:28:29 UTC) #4
Marijn Kruisselbrink
On 2016/04/08 at 01:28:29, falken wrote: > Looks good. I may just be missing it ...
4 years, 8 months ago (2016-04-08 17:20:37 UTC) #5
falken
Sorry for the extreme delay. Is it possible to add a test for main resource ...
4 years, 8 months ago (2016-04-14 01:22:52 UTC) #6
Marijn Kruisselbrink
On 2016/04/14 at 01:22:52, falken wrote: > Sorry for the extreme delay. Is it possible ...
4 years, 8 months ago (2016-04-15 22:35:20 UTC) #7
falken
lgtm https://codereview.chromium.org/1870743002/diff/80001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js File third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js (right): https://codereview.chromium.org/1870743002/diff/80001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js#newcode15 third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js:15: function handleBasic(event) { these should be w3c_style_function_names https://codereview.chromium.org/1870743002/diff/80001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js#newcode24 ...
4 years, 8 months ago (2016-04-18 03:13:51 UTC) #8
Marijn Kruisselbrink
https://codereview.chromium.org/1870743002/diff/80001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js File third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js (right): https://codereview.chromium.org/1870743002/diff/80001/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js#newcode15 third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-worker.js:15: function handleBasic(event) { On 2016/04/18 at 03:13:51, falken wrote: ...
4 years, 8 months ago (2016-04-18 18:19:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1870743002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1870743002/100001
4 years, 8 months ago (2016-04-18 18:19:43 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-18 19:25:24 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 19:26:35 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b05fc6e9adea363eee39ae5e4de1db647b5de2b8
Cr-Commit-Position: refs/heads/master@{#387982}

Powered by Google App Engine
This is Rietveld 408576698