Index: Source/modules/push_messaging/PushError.cpp |
diff --git a/Source/modules/push_messaging/PushError.cpp b/Source/modules/push_messaging/PushError.cpp |
index d4eb8f700016eb6e116143ac0273925b99887080..5eb7e3e39fe07732c2dfc98a875fb69f2df236e4 100644 |
--- a/Source/modules/push_messaging/PushError.cpp |
+++ b/Source/modules/push_messaging/PushError.cpp |
@@ -21,6 +21,8 @@ DOMException* PushError::take(ScriptPromiseResolver*, WebType* webErrorRaw) |
return DOMException::create(NetworkError, webError->message); |
case WebPushError::ErrorTypeNotFound: |
return DOMException::create(NotFoundError, webError->message); |
+ case WebPushError::ErrorTypeNotSupported: |
+ return DOMException::create(NotSupportedError, webError->message); |
case WebPushError::ErrorTypeUnknown: |
return DOMException::create(UnknownError, webError->message); |
} |