| 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 e4968cb0985bd5fa58044a7e1e4e69b4fb69f5b7..d25af6ebc4f85cbef2685e2292a2a43eae71bfc5 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -254,7 +254,7 @@ void WorkerGlobalScope::importScripts(const Vector<String>& urls, ExceptionState
|
| for (const KURL& completeURL : completedURLs) {
|
| RefPtr<WorkerScriptLoader> scriptLoader(WorkerScriptLoader::create());
|
| scriptLoader->setRequestContext(WebURLRequest::RequestContextScript);
|
| - scriptLoader->loadSynchronously(executionContext, completeURL, AllowCrossOriginRequests);
|
| + scriptLoader->loadSynchronously(executionContext, completeURL, AllowCrossOriginRequests, executionContext.securityContext().addressSpace());
|
|
|
| // If the fetching attempt failed, throw a NetworkError exception and abort all these steps.
|
| if (scriptLoader->failed()) {
|
|
|