Index: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
diff --git a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
index 8a4d5c1806fa804d2bfa3ef6e9725f7dc2345855..4120bafb7f39fa65de5fce1259ff1493b7514563 100644 |
--- a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
+++ b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
@@ -80,6 +80,10 @@ void ServiceWorkerGlobalScopeClientImpl::didHandleFetchEvent(int fetchEventID, P |
WebServiceWorkerResponse webResponse; |
response->populateWebServiceWorkerResponse(webResponse); |
+ if (webResponse.status() == 0) { |
yhirano
2014/07/16 13:12:27
Can you write a comment here?
horo
2014/07/18 09:12:18
Done.
|
+ m_client.didHandleFetchEvent(fetchEventID); |
+ return; |
+ } |
m_client.didHandleFetchEvent(fetchEventID, webResponse); |
} |