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

Unified Diff: Source/modules/fetch/RequestInit.cpp

Issue 1279163005: Initial Fetch integration for Subresource Integrity (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improved and mostly working Created 5 years, 4 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: Source/modules/fetch/RequestInit.cpp
diff --git a/Source/modules/fetch/RequestInit.cpp b/Source/modules/fetch/RequestInit.cpp
index 31b13a3ca1b9ef0f460f60188e78bf925c96901c..c281ff77450f757eede575cb73c1026f47dc23b3 100644
--- a/Source/modules/fetch/RequestInit.cpp
+++ b/Source/modules/fetch/RequestInit.cpp
@@ -32,6 +32,7 @@ RequestInit::RequestInit(ExecutionContext* context, const Dictionary& options, E
DictionaryHelper::get(options, "mode", mode);
DictionaryHelper::get(options, "credentials", credentials);
DictionaryHelper::get(options, "redirect", redirect);
+ DictionaryHelper::get(options, "integrity", integrity);
v8::Local<v8::Value> body;
if (!DictionaryHelper::get(options, "body", body) || body->IsUndefined() || body->IsNull())
« Source/modules/fetch/FetchManager.cpp ('K') | « Source/modules/fetch/RequestInit.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698