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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerScriptLoader.h

Issue 2689173002: Implement script MIME restrictions for X-Content-Type-Options: nosniff for Workers (Closed)
Patch Set: incorporated mkwst@'s comment Created 3 years, 10 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/workers/WorkerScriptLoader.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.h b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.h
index f17d3dae32db943fac4d22829afdc5a0f77d3d28..32b656e8db739bd6e78599965c38fb4af4cc1f04 100644
--- a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.h
+++ b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.h
@@ -154,6 +154,7 @@ class CORE_EXPORT WorkerScriptLoader final
std::unique_ptr<Vector<char>> m_cachedMetadata;
WebURLRequest::RequestContext m_requestContext;
Persistent<ContentSecurityPolicy> m_contentSecurityPolicy;
+ Persistent<ExecutionContext> m_executionContext;
WebAddressSpace m_responseAddressSpace;
std::unique_ptr<Vector<String>> m_originTrialTokens;
String m_referrerPolicy;

Powered by Google App Engine
This is Rietveld 408576698