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

Unified Diff: LayoutTests/http/tests/media/media-source/webkitmediasource-objects-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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: LayoutTests/http/tests/media/media-source/webkitmediasource-objects-expected.txt
diff --git a/LayoutTests/http/tests/media/media-source/webkitmediasource-objects-expected.txt b/LayoutTests/http/tests/media/media-source/webkitmediasource-objects-expected.txt
index df6cbb871e4693e40100c9e50529ce25d8be9132..e214da7b1c0c287a06d4149271df79998ef0e4f9 100644
--- a/LayoutTests/http/tests/media/media-source/webkitmediasource-objects-expected.txt
+++ b/LayoutTests/http/tests/media/media-source/webkitmediasource-objects-expected.txt
@@ -42,13 +42,13 @@ EXPECTED (mediaSource.sourceBuffers.length == '0') OK
EXPECTED (mediaSource.sourceBuffers == '[object WebKitSourceBufferList]') OK
Test that append() throws an error after SourceBuffer has been removed.
-Got expected exception Error: InvalidStateError: DOM Exception 11
+Got expected exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.
Test that buffered throws an error after SourceBuffer has been removed.
-Got expected exception Error: InvalidStateError: DOM Exception 11
+Got expected exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.
EXPECTED (mediaSource.sourceBuffers.length == '0') OK
Test that addSourceBuffer() throws and error when the MediaSource is not associated with a media element.
-Got expected exception Error: InvalidStateError: DOM Exception 11
+Got expected exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.
Test that setting timestampOffset throws an error when the MediaSource is not associated with a media element.
-Got expected exception Error: InvalidStateError: DOM Exception 11
+Got expected exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable.
END OF TEST

Powered by Google App Engine
This is Rietveld 408576698