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. |