Index: content/renderer/service_worker/service_worker_context_client.cc |
diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc |
index 7a5e37e75930e44bd93e8d30ccd006722b4d4491..62bfb8517986377788c181b1db546298a95f9957 100644 |
--- a/content/renderer/service_worker/service_worker_context_client.cc |
+++ b/content/renderer/service_worker/service_worker_context_client.cc |
@@ -866,7 +866,7 @@ void ServiceWorkerContextClient::OnOpenWindowError( |
return; |
} |
callbacks->onError(blink::WebServiceWorkerError( |
- blink::WebServiceWorkerError::ErrorTypeUnknown, |
+ blink::WebServiceWorkerError::ErrorTypeNavigation, |
blink::WebString::fromUTF8(message))); |
context_->client_callbacks.Remove(request_id); |
} |
@@ -929,7 +929,7 @@ void ServiceWorkerContextClient::OnNavigateClientError(int request_id, |
} |
std::string message = "Cannot navigate to URL: " + url.spec(); |
callbacks->onError(blink::WebServiceWorkerError( |
- blink::WebServiceWorkerError::ErrorTypeUnknown, |
+ blink::WebServiceWorkerError::ErrorTypeNavigation, |
blink::WebString::fromUTF8(message))); |
context_->client_callbacks.Remove(request_id); |
} |