| Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| index ff41d83ab56e9219871f47ccdcf3019e7d6e2295..cf35c3676c554d1a428c54a6a2c532d1a381219a 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -188,7 +188,8 @@ void WorkerGlobalScope::importScripts(const Vector<String>& urls,
|
| SyntaxError, "The URL '" + urlString + "' is invalid.");
|
| return;
|
| }
|
| - if (!contentSecurityPolicy()->allowScriptFromSource(url, AtomicString())) {
|
| + if (!contentSecurityPolicy()->allowScriptFromSource(url, AtomicString(),
|
| + NotParserInserted)) {
|
| exceptionState.throwDOMException(
|
| NetworkError,
|
| "The script at '" + url.elidedString() + "' failed to load.");
|
|
|