Index: LayoutTests/media/media-can-play-type.html |
diff --git a/LayoutTests/media/media-can-play-type.html b/LayoutTests/media/media-can-play-type.html |
index 29efb71ee9c83dccdb8cb78ed24b57a76650211a..9d1fdf0f3153f9fa032b3321a854d67a40c898ad 100644 |
--- a/LayoutTests/media/media-can-play-type.html |
+++ b/LayoutTests/media/media-can-play-type.html |
@@ -6,7 +6,7 @@ |
function start() { |
video = document.getElementsByTagName('video')[0]; |
- testExpected("video.canPlayType()", ""); |
+ testException("video.canPlayType()", '"TypeError: Failed to execute \'canPlayType\' on \'HTMLMediaElement\': 1 argument required, but only 0 present."'); |
testExpected("video.canPlayType('video/')", ""); |
testExpected("video.canPlayType('video/blahblah')", ""); |
testExpected("video.canPlayType('video/blahblah; codecs=\"blah, , blah\"')", ""); |