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

Unified Diff: third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp

Issue 1641533006: CSP: Add an experimental 'unsafe-dynamic' source expression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Experiment. Created 4 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/csp/SourceListDirective.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
diff --git a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
index 2b66f1fb43894e51c9d20e39dee33e7da12d5c40..56a21a0054130e84629c9825bebc3a59daf5525f 100644
--- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
+++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
@@ -37,6 +37,11 @@ bool SourceListDirective::allowEval() const
return m_sourceList.allowEval();
}
+bool SourceListDirective::allowDynamic() const
+{
+ return m_sourceList.allowDynamic();
+}
+
bool SourceListDirective::allowNonce(const String& nonce) const
{
return m_sourceList.allowNonce(nonce.stripWhiteSpace());
« no previous file with comments | « third_party/WebKit/Source/core/frame/csp/SourceListDirective.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698