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

Unified Diff: third_party/WebKit/Source/modules/mediasource/MediaSource.h

Issue 2315113002: MSE: Throw TypeError instead of InvalidAccessError per spec update (Closed)
Patch Set: addSourceBuffer(null) is really addSourceBuffer("null") in at least Blink Created 4 years, 3 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/modules/mediasource/MediaSource.h
diff --git a/third_party/WebKit/Source/modules/mediasource/MediaSource.h b/third_party/WebKit/Source/modules/mediasource/MediaSource.h
index 63c80f765f611c667f4cefe3c89ff4105b2fbbcf..a89a559d1ffde4c0239b244d11a7bfe527452a25 100644
--- a/third_party/WebKit/Source/modules/mediasource/MediaSource.h
+++ b/third_party/WebKit/Source/modules/mediasource/MediaSource.h
@@ -65,6 +65,7 @@ public:
~MediaSource() override;
static void logAndThrowDOMException(ExceptionState&, const ExceptionCode& error, const String& message);
+ static void logAndThrowTypeError(ExceptionState&, const String&);
// MediaSource.idl methods
SourceBufferList* sourceBuffers() { return m_sourceBuffers.get(); }

Powered by Google App Engine
This is Rietveld 408576698