Index: Source/core/workers/WorkerGlobalScope.cpp |
diff --git a/Source/core/workers/WorkerGlobalScope.cpp b/Source/core/workers/WorkerGlobalScope.cpp |
index 53ba4a2321fd73da421a55dd1475c4ef6f2ef884..aa29b5808553b46bfd2e8e4dc14c489b621030ea 100644 |
--- a/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/Source/core/workers/WorkerGlobalScope.cpp |
@@ -264,7 +264,7 @@ void WorkerGlobalScope::importScripts(const Vector<String>& urls, ExceptionState |
RefPtrWillBeRawPtr<ErrorEvent> errorEvent = nullptr; |
m_script->evaluate(ScriptSourceCode(scriptLoader->script(), scriptLoader->responseURL()), &errorEvent); |
if (errorEvent) { |
- m_script->rethrowExceptionFromImportedScript(errorEvent.release()); |
+ m_script->rethrowExceptionFromImportedScript(errorEvent.release(), exceptionState); |
return; |
} |
} |