Index: Source/core/workers/AbstractWorker.cpp |
diff --git a/Source/core/workers/AbstractWorker.cpp b/Source/core/workers/AbstractWorker.cpp |
index c050843c2da34cb891f872590b882ecc6de86a8b..15cb02169bb464fe183d9d5d4258af62a8020577 100644 |
--- a/Source/core/workers/AbstractWorker.cpp |
+++ b/Source/core/workers/AbstractWorker.cpp |
@@ -77,7 +77,7 @@ KURL AbstractWorker::resolveURL(const String& url, ExceptionCode& ec) |
return KURL(); |
} |
- if (scriptExecutionContext()->contentSecurityPolicy() && !scriptExecutionContext()->contentSecurityPolicy()->allowScriptFromSource(scriptURL)) { |
+ if (scriptExecutionContext()->contentSecurityPolicy() && !scriptExecutionContext()->contentSecurityPolicy()->allowScriptFromSource(scriptURL, false)) { |
ec = SECURITY_ERR; |
return KURL(); |
} |