Index: Source/modules/push_messaging/PushError.cpp |
diff --git a/Source/modules/push_messaging/PushError.cpp b/Source/modules/push_messaging/PushError.cpp |
index 6ae5e5af4adefde7a25686d74d29a1cdf073fb6f..13f3e591085a7050e1107bd2525cb5b26f7e418a 100644 |
--- a/Source/modules/push_messaging/PushError.cpp |
+++ b/Source/modules/push_messaging/PushError.cpp |
@@ -16,6 +16,8 @@ PassRefPtrWillBeRawPtr<DOMException> PushError::take(ScriptPromiseResolver*, Web |
switch (webError->errorType) { |
case WebPushError::ErrorTypeAbort: |
return DOMException::create(AbortError, webError->message); |
+ case WebPushError::ErrorTypeNetwork: |
+ return DOMException::create(NetworkError, webError->message); |
case WebPushError::ErrorTypeNotFound: |
return DOMException::create(NotFoundError, webError->message); |
case WebPushError::ErrorTypeUnknown: |