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

Issue 1280133002: Set skip_service_worker in ServiceWorkerControlleeRequestHandler only for subresource requests. (Closed)

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

Description

Set skip_service_worker in ServiceWorkerControlleeRequestHandler only for subresource requests. https://codereview.chromium.org/1274973002/ accidentally changed the Service Worker behavior of handling redirected page requests. If we set skip_service_worker for page requests, the final location of redirects will not correctly be handled by Service Worker. So this cl change to set |skip_service_worker| only for subresource requests. https://codereview.chromium.org/1280243002 will add LayoutTests for fallbacked subresource requests. BUG=517364, 512764, 518713 Committed: https://crrev.com/bc0572e34764db29e996a95470a2339b6f3eb242 Cr-Commit-Position: refs/heads/master@{#342722}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Factor out to FallbackToNetwork() #

Total comments: 2

Patch Set 3 : add .h file. fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M content/browser/service_worker/service_worker_controllee_request_handler.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 1 2 3 chunks +11 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
horo
falken@ Could you please review this?
5 years, 4 months ago (2015-08-10 03:46:09 UTC) #2
falken
I see there's layout tests for the subresource case in https://codereview.chromium.org/1280243002 (this could be added ...
5 years, 4 months ago (2015-08-10 04:56:15 UTC) #3
horo
> I see there's layout tests for the subresource case in > https://codereview.chromium.org/1280243002 (this could ...
5 years, 4 months ago (2015-08-10 05:43:41 UTC) #4
falken
lgtm Don't you need to add the function to the .h file? I'll do the ...
5 years, 4 months ago (2015-08-10 07:05:59 UTC) #5
horo
Thank you (^^) > Don't you need to add the function to the .h file? ...
5 years, 4 months ago (2015-08-10 07:23:56 UTC) #6
horo
michaeln@ Could you please review this?
5 years, 4 months ago (2015-08-10 13:00:37 UTC) #8
michaeln
lgtm, thnx!!!!
5 years, 4 months ago (2015-08-10 19:21:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1280133002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1280133002/40001
5 years, 4 months ago (2015-08-10 22:52:23 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-10 22:57:49 UTC) #13
commit-bot: I haz the power
5 years, 4 months ago (2015-08-10 22:58:41 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bc0572e34764db29e996a95470a2339b6f3eb242
Cr-Commit-Position: refs/heads/master@{#342722}

Powered by Google App Engine
This is Rietveld 408576698