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

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

Created:
6 years, 1 month ago by horo
Modified:
6 years, 1 month ago
Reviewers:
jww, Mike West, yhirano
CC:
blink-reviews, dglazkov+blink, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
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 [1/3 blink] In current implementation the response's URL is used as the URL of the resources. But it is not correct. 1/3 blink: https://codereview.chromium.org/732963003 [THIS PATCH] - 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 - Change CSP check to use originalURLViaServiceWorker. - Add LayoutTest for this bug. BUG=433743 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185659

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -2 lines) Patch
M Source/core/fetch/ResourceFetcher.cpp View 1 chunk +6 lines, -2 lines 0 comments Download
M Source/platform/exported/WebURLResponse.cpp View 1 chunk +10 lines, -0 lines 0 comments Download
M Source/platform/network/ResourceResponse.h View 3 chunks +8 lines, -0 lines 0 comments Download
M Source/platform/network/ResourceResponse.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M public/platform/WebURLResponse.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
horo
yhirano@
6 years, 1 month ago (2014-11-17 08:11:35 UTC) #3
horo
yhirano@ Could you please review?
6 years, 1 month ago (2014-11-17 08:11:47 UTC) #4
yhirano
lgtm
6 years, 1 month ago (2014-11-19 04:06:32 UTC) #5
horo
mkwst@ Could you please review this?
6 years, 1 month ago (2014-11-19 06:30:54 UTC) #9
Mike West
Hrm. I'm a little bit worried about the security implications of pretending that a resource ...
6 years, 1 month ago (2014-11-19 10:00:28 UTC) #10
horo
On 2014/11/19 10:00:28, Mike West wrote: > Hrm. I'm a little bit worried about the ...
6 years, 1 month ago (2014-11-19 13:20:50 UTC) #12
Mike West
The GitHub bug you point to basically says that we should be doing the CSP ...
6 years, 1 month ago (2014-11-19 16:19:45 UTC) #13
horo
On 2014/11/19 16:19:45, Mike West wrote: > The GitHub bug you point to basically says ...
6 years, 1 month ago (2014-11-19 21:18:01 UTC) #14
Mike West
Alright. LGTM.
6 years, 1 month ago (2014-11-20 07:57:54 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/732963003/20001
6 years, 1 month ago (2014-11-20 11:05:03 UTC) #17
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 11:23:24 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185659

Powered by Google App Engine
This is Rietveld 408576698