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

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

Issue 1576283003: Have HTMLMediaElement::play() return a Promise. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 10 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: third_party/WebKit/Source/core/dom/DOMException.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMException.cpp b/third_party/WebKit/Source/core/dom/DOMException.cpp
index a8b1414ebac5629ed43768d09c9953887f6c5821..719bbf87d98c9a00536b0aa0ea6db1500f54eebb 100644
--- a/third_party/WebKit/Source/core/dom/DOMException.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMException.cpp
@@ -81,6 +81,12 @@ static const struct CoreException {
// Push API
{ "PermissionDeniedError", "User or security policy denied the request.", 0 },
+
+ // Part of WebIDL. Used by HTML and Media Session API.
+ { "NotAllowedError", "The request is not allowed by the user agent or the platform in the current context.", 0 },
+
+ // Please add new entries at the end of this list to guarantee any ordering
+ // expectations.
};
static const CoreException* getErrorEntry(ExceptionCode ec)

Powered by Google App Engine
This is Rietveld 408576698