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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptLoader.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/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 9d19f831286996f2c6bf124ae62cb071a5c7e76f..1b279547e4cf31bb7413ac3c12f40bba0fb37210 100644
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
@@ -732,6 +732,9 @@ bool ScriptLoader::FetchClassicScript(
// "... integrity metadata, ..."
params.SetIntegrityMetadata(integrity_metadata);
+ // "... integrity value, ..."
+ params.SetIntegrityValue(element_->IntegrityAttributeValue());
shimazu 2017/06/26 06:13:32 How about having the integrity string in Integrity
xiaofengzhang 2017/06/29 02:26:06 integrity string was converted to IntegrityMetadat
+
// "... parser state, ..."
params.SetParserDisposition(parser_state);

Powered by Google App Engine
This is Rietveld 408576698