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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp

Issue 2941883003: [ServiceWorker] Fetch event should return integrity value (Closed)
Patch Set: Rebase Created 3 years, 6 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
Index: third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp b/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp
index 8e3941c0a3b9610891f4970add2f7249e19a6bd8..1d5fb5ca3472074ee6f3d0f7f2d7e8334556e1fb 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchRequestData.cpp
@@ -48,6 +48,7 @@ FetchRequestData* FetchRequestData::Create(
request->SetCacheMode(web_request.CacheMode());
request->SetRedirect(web_request.RedirectMode());
request->SetMIMEType(request->header_list_->ExtractMIMEType());
+ request->SetIntegrity(web_request.Integrity());
return request;
}

Powered by Google App Engine
This is Rietveld 408576698