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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptLoader.cpp

Issue 2941883003: [ServiceWorker] Fetch event should return integrity value (Closed)
Patch Set: Rebase and address shimazu and yhirano's comments 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/core/dom/ScriptLoader.cpp
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
index a72185d04583c9fd5a2fc3a41466257838464f80..8ea22682b746c4fe27b2f20dabe88aef9d116570 100644
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
@@ -738,6 +738,9 @@ bool ScriptLoader::FetchClassicScript(
// "... integrity metadata, ..."
params.SetIntegrityMetadata(integrity_metadata);
+ // "... integrity value, ..."
+ params.SetIntegrityValue(element_->IntegrityAttributeValue());
+
// "... parser state, ..."
params.SetParserDisposition(parser_state);

Powered by Google App Engine
This is Rietveld 408576698