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

Unified Diff: LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html

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/fast/mediastream/MediaStream-add-remove-tracks.html
diff --git a/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html b/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html
index aaf82f3aa05212ec68bedf366a18e9a701eecdc8..909e1260007ce07add639755b21e6346481220b7 100644
--- a/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html
+++ b/LayoutTests/fast/mediastream/MediaStream-add-remove-tracks.html
@@ -115,8 +115,8 @@ function gotStream2(s) {
stream1.stop();
- shouldThrow('stream1.addTrack(audioTrack)', '"Error: InvalidStateError: DOM Exception 11"');
- shouldThrow('stream1.removeTrack(audioTrack)', '"Error: InvalidStateError: DOM Exception 11"');
+ shouldThrow('stream1.addTrack(audioTrack)', '"InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable."');
+ shouldThrow('stream1.removeTrack(audioTrack)', '"InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable."');
setTimeout(finishJSTest, 0);
}

Powered by Google App Engine
This is Rietveld 408576698