Index: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp |
index 4852079557334ba9f7c0253e010e2226454b4174..f209bbf18b1b3d75e2ad19047741084e9cb07baf 100644 |
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp |
@@ -655,6 +655,8 @@ void DocumentThreadableLoader::handleResponse(unsigned long identifier, const Re |
} |
if (response.wasFetchedViaServiceWorker()) { |
+ if (response.wasFetchedViaForeignFetch()) |
+ UseCounter::count(m_document, UseCounter::ForeignFetchInterception); |
if (response.wasFallbackRequiredByServiceWorker()) { |
// At this point we must have m_fallbackRequestForServiceWorker. |
// (For SharedWorker the request won't be CORS or CORS-with-preflight, |