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

Unified Diff: LayoutTests/media/track/track-addtrack-kind-expected.txt

Issue 790633003: Use TextTrackKind enum in HTMLMediaElement.addTextTrack IDL signature (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Nits. Created 5 years, 11 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
« no previous file with comments | « LayoutTests/media/track/track-addtrack-kind.html ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/track/track-addtrack-kind-expected.txt
diff --git a/LayoutTests/media/track/track-addtrack-kind-expected.txt b/LayoutTests/media/track/track-addtrack-kind-expected.txt
index 447e04151f1c0ee2b7e7d54362034f5c7442903f..736da5bf5b8aa53a2bb66d6c9c723b26da956bcd 100644
--- a/LayoutTests/media/track/track-addtrack-kind-expected.txt
+++ b/LayoutTests/media/track/track-addtrack-kind-expected.txt
@@ -2,7 +2,7 @@ Tests that the addTextTrack() only accepts known 'kind' values.
++ Test invalid 'kind'.
EXPECTED (video.textTracks.length == '0') OK
-TEST(video.addTextTrack('kaptions')) THROWS(DOMException.SYNTAX_ERR: Failed to execute 'addTextTrack' on 'HTMLMediaElement': The 'kind' provided ('kaptions') is invalid.) OK
+TEST(video.addTextTrack('kaptions')) THROWS("TypeError: Failed to execute 'addTextTrack' on 'HTMLMediaElement': parameter 1 ('kaptions') is not a valid enum value.") OK
EXPECTED (video.textTracks.length == '0') OK
++ Test all valid 'kind' keywords.
« no previous file with comments | « LayoutTests/media/track/track-addtrack-kind.html ('k') | Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698