diff options
Diffstat (limited to 'WebCore/workers/Worker.cpp')
-rw-r--r-- | WebCore/workers/Worker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/workers/Worker.cpp b/WebCore/workers/Worker.cpp index a906134..d4d0e9b 100644 --- a/WebCore/workers/Worker.cpp +++ b/WebCore/workers/Worker.cpp @@ -58,7 +58,7 @@ Worker::Worker(const String& url, ScriptExecutionContext* context, ExceptionCode return; m_scriptLoader = new WorkerScriptLoader(); - m_scriptLoader->loadAsynchronously(scriptExecutionContext(), scriptURL, DenyCrossOriginRedirect, this); + m_scriptLoader->loadAsynchronously(scriptExecutionContext(), scriptURL, DenyCrossOriginRequests, this); setPendingActivity(this); // The worker context does not exist while loading, so we must ensure that the worker object is not collected, as well as its event listeners. } |