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

Unified Diff: content/child/resource_dispatcher.cc

Issue 731983003: Use the request URL as the URL of the resources which are fetched ServiceWorker [2/3 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index ea91f9571120d334c6beaaf1d9d364cf413764a3..81bcecd41bbee003b461cdef76c0b44c0224e158 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -377,13 +377,6 @@ void ResourceDispatcher::OnReceivedResponse(
request_info->peer = new_peer;
}
- // Updates the response_url if the response was fetched by a ServiceWorker,
- // and it was not generated inside the ServiceWorker.
- if (response_head.was_fetched_via_service_worker &&
- !response_head.original_url_via_service_worker.is_empty()) {
- request_info->response_url = response_head.original_url_via_service_worker;
- }
-
ResourceResponseInfo renderer_response_info;
ToResourceResponseInfo(*request_info, response_head, &renderer_response_info);
request_info->site_isolation_metadata =
« no previous file with comments | « no previous file | content/child/web_url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698