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

Unified Diff: Source/core/html/HTMLMediaElement.cpp

Issue 62543003: Added InvalidAccessError exception (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased to master Created 7 years, 1 month 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
« no previous file with comments | « no previous file | Source/platform/graphics/media/MediaPlayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index 9c798cd26ab5034904c8fd4aab2f770ad7a7fae5..1ec05752e7c4a890ae99b8c952484f91a02a8b54 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -166,6 +166,9 @@ static void throwExceptionForMediaKeyException(MediaPlayer::MediaKeyException ex
case MediaPlayer::KeySystemNotSupported:
exceptionState.throwUninformativeAndGenericDOMException(NotSupportedError);
return;
+ case MediaPlayer::InvalidAccess:
+ exceptionState.throwUninformativeAndGenericDOMException(InvalidAccessError);
+ return;
}
ASSERT_NOT_REACHED();
« no previous file with comments | « no previous file | Source/platform/graphics/media/MediaPlayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698