| Index: third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp b/third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp
|
| index f9915535caf4d7fd4bd50b327af9e46aeef4f2fd..cb6285317ba2481476f6ebb68525acaf9864abf9 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPSourceList.cpp
|
| @@ -176,8 +176,8 @@ bool CSPSourceList::parseSource(const UChar* begin, const UChar* end, String& sc
|
| return true;
|
| }
|
|
|
| - if (equalIgnoringCase("'unsafe-dynamic'", begin, end - begin)) {
|
| - addSourceUnsafeDynamic();
|
| + if (equalIgnoringCase("'strict-dynamic'", begin, end - begin)) {
|
| + addSourceStrictDynamic();
|
| return true;
|
| }
|
|
|
| @@ -503,7 +503,7 @@ void CSPSourceList::addSourceUnsafeEval()
|
| m_allowEval = true;
|
| }
|
|
|
| -void CSPSourceList::addSourceUnsafeDynamic()
|
| +void CSPSourceList::addSourceStrictDynamic()
|
| {
|
| m_allowDynamic = true;
|
| }
|
|
|