Index: LayoutTests/media/track/track-addtrack-kind.html |
diff --git a/LayoutTests/media/track/track-addtrack-kind.html b/LayoutTests/media/track/track-addtrack-kind.html |
index 1c4d4e12b6fe9945df233dbeec7da948d5c1ed92..63bc4a7cb6fa7d2a2c4257c63900bef0f9b9b4ae 100644 |
--- a/LayoutTests/media/track/track-addtrack-kind.html |
+++ b/LayoutTests/media/track/track-addtrack-kind.html |
@@ -21,7 +21,7 @@ |
consoleWrite("<em>++ Test invalid 'kind'.</em>"); |
testExpected("video.textTracks.length", 0); |
- testDOMException("video.addTextTrack('kaptions')", "DOMException.SYNTAX_ERR"); |
+ testException("video.addTextTrack('kaptions')", '"TypeError: Failed to execute \'addTextTrack\' on \'HTMLMediaElement\': parameter 1 (\'kaptions\') is not a valid enum value."'); |
testExpected("video.textTracks.length", 0); |
consoleWrite(""); |