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

Issue 732003002: Use the request URL as the URL of the resources which are fetched ServiceWorker [3/3 blink] (Closed)

Created:
6 years, 1 month ago by horo
Modified:
6 years, 1 month ago
Reviewers:
Mike West, yhirano
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, kenjibaheux+watch_chromium.org, tzik, serviceworker-reviews, tyoshino+watch_chromium.org, nhiroki, falken, kinuko+serviceworker, gavinp+loader_chromium.org, horo+watch_chromium.org, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use the request URL as the URL of the resources which are fetched ServiceWorker [3/3 blink] 1/3 blink: https://codereview.chromium.org/732963003 - Intorduce originalURLViaServiceWorker in ResourceResponse and WebURLResponse - Change CSP check to use originalURLViaServiceWorker if exists in ResourceFetcher::didReceiveResponse(). 2/3 chromium: https://codereview.chromium.org/731983003 - Stop updating the request's URL in ResourceDispatcher::OnReceivedResponse() and WebURLLoaderImpl::Context::OnReceivedResponse(). - Set WebURLResponse's originalURLViaServiceWorker in WebURLLoaderImpl::PopulateURLResponse(). 3/3 blink: https://codereview.chromium.org/732003002 [THIS PATCH] - Change CSP check to use originalURLViaServiceWorker. - Add LayoutTest for this bug. BUG=433743 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185751

Patch Set 1 #

Total comments: 2

Patch Set 2 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -4 lines) Patch
A LayoutTests/http/tests/serviceworker/fetch-request-css-base-url.html View 1 chunk +54 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/fetch-request-css-base-url-iframe.html View 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/fetch-request-css-base-url-style.css View 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/http/tests/serviceworker/resources/fetch-request-css-base-url-worker.js View 1 chunk +26 lines, -0 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
horo
yhirano@ Could you please review?
6 years, 1 month ago (2014-11-17 08:12:10 UTC) #2
yhirano
https://codereview.chromium.org/732003002/diff/1/Source/core/fetch/ResourceFetcher.cpp File Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/732003002/diff/1/Source/core/fetch/ResourceFetcher.cpp#newcode1350 Source/core/fetch/ResourceFetcher.cpp:1350: // If the response is fetched via ServiceWorker, the ...
6 years, 1 month ago (2014-11-19 04:06:21 UTC) #3
horo
https://codereview.chromium.org/732003002/diff/1/Source/core/fetch/ResourceFetcher.cpp File Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/732003002/diff/1/Source/core/fetch/ResourceFetcher.cpp#newcode1350 Source/core/fetch/ResourceFetcher.cpp:1350: // If the response is fetched via ServiceWorker, the ...
6 years, 1 month ago (2014-11-19 04:56:00 UTC) #5
yhirano
lgtm
6 years, 1 month ago (2014-11-19 05:11:20 UTC) #6
horo
mkwst@ Could you please review this?
6 years, 1 month ago (2014-11-19 06:31:14 UTC) #8
Mike West
On 2014/11/19 06:31:14, horo wrote: > mkwst@ > Could you please review this? Happily, but ...
6 years, 1 month ago (2014-11-19 10:01:10 UTC) #9
Mike West
LGTM, as discussed on the other bug.
6 years, 1 month ago (2014-11-20 07:58:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/732003002/40001
6 years, 1 month ago (2014-11-21 00:07:01 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/20330) mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/32006)
6 years, 1 month ago (2014-11-21 00:19:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/732003002/40001
6 years, 1 month ago (2014-11-21 01:32:31 UTC) #16
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 03:57:48 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185751

Powered by Google App Engine
This is Rietveld 408576698