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

Unified Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 2819423003: Remove unused deprecation message of the service worker redirected response restriction. (Closed)
Patch Set: Created 3 years, 8 months 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 | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index 6bfe79f90773bee17c7d9503d1101ce47d07e072..63a756bd956e03b5e45cecf9bfca1515eec8ce8b 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -458,19 +458,6 @@ void DocumentLoader::FinishedLoading(double finish_time) {
application_cache_host_->FinishedLoadingMainResource();
EndWriting();
ClearMainResourceHandle();
-
- // Shows the deprecation message and measures the impact of the new security
- // restriction which disallows responding to navigation requests with
- // redirected responses in the service worker.
- // TODO(horo): Remove this when we actually introduce the restriction in
- // RespondWithObserver.
- if (response_.WasFetchedViaServiceWorker() &&
- response_.UrlListViaServiceWorker().size() > 1) {
- Deprecation::CountDeprecation(
- frame_,
- UseCounter::
- kServiceWorkerRespondToNavigationRequestWithRedirectedResponse);
- }
}
bool DocumentLoader::RedirectReceived(
« no previous file with comments | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698