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

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h

Issue 2805673002: CSP: 'strict-dynamic' should allow 'new Worker()' (Closed)
Patch Set: Fix the test. Created 3 years, 8 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/frame/csp/CSPDirectiveList.h
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
index 53ae94b360d112654b5bb874487d52a4a32bf299..d1a122b587a3ec26b84fbeb21073b9038a8d5f2a 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h
@@ -130,6 +130,7 @@ class CORE_EXPORT CSPDirectiveList
bool allowStyleHash(const CSPHashValue&,
ContentSecurityPolicy::InlineType) const;
bool allowDynamic() const;
+ bool allowDynamicWorker() const;
bool allowRequestWithoutIntegrity(WebURLRequest::RequestContext,
const KURL&,

Powered by Google App Engine
This is Rietveld 408576698