Add (entirely incorrect) fetching of ServiceWorker scripts.
[WebKit-https.git] / Source / WebCore / workers / WorkerScriptLoader.cpp
index 35bcb16..9720a97 100644 (file)
@@ -164,8 +164,9 @@ void WorkerScriptLoader::didFinishLoading(unsigned long identifier)
     notifyFinished();
 }
 
-void WorkerScriptLoader::didFail(const ResourceError&)
+void WorkerScriptLoader::didFail(const ResourceError& error)
 {
+    m_error = error;
     notifyError();
 }