Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Unified Diff: Source/core/dom/DOMException.cpp

Issue 1314493008: Add a PermissionDeniedError, update Push API public API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/DOMException.cpp
diff --git a/Source/core/dom/DOMException.cpp b/Source/core/dom/DOMException.cpp
index def6dbb5622f9ccdc57d3f109293bd157912a193..4289a5544e206d8e764f6fb96dda2b1047f5f208 100644
--- a/Source/core/dom/DOMException.cpp
+++ b/Source/core/dom/DOMException.cpp
@@ -79,6 +79,9 @@ static const struct CoreException {
// Web Crypto
{ "OperationError", "The operation failed for an operation-specific reason", 0 },
+
+ // Push API
+ { "PermissionDeniedError", "User or security policy denied the request.", 0 },
};
static const CoreException* getErrorEntry(ExceptionCode ec)

Powered by Google App Engine
This is Rietveld 408576698