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

Unified Diff: LayoutTests/media/media-can-play-type-expected.txt

Issue 138063006: Make the type argument to HTMLMediaElement.canPlayType non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove redundant failing test Created 6 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/media-can-play-type.html ('k') | Source/core/html/HTMLMediaElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/media-can-play-type-expected.txt
diff --git a/LayoutTests/media/media-can-play-type-expected.txt b/LayoutTests/media/media-can-play-type-expected.txt
index c1244b3dd36c3339b0e8717e52f0811368d85824..dd9f7978ad06bf36a4dfab0f3f65df0216d7bdc4 100644
--- a/LayoutTests/media/media-can-play-type-expected.txt
+++ b/LayoutTests/media/media-can-play-type-expected.txt
@@ -1,6 +1,6 @@
Test HTMLMediaElement canPlayType() method.
-EXPECTED (video.canPlayType() == '') OK
+TEST(video.canPlayType()) THROWS("TypeError: Failed to execute 'canPlayType' on 'HTMLMediaElement': 1 argument required, but only 0 present.") OK
EXPECTED (video.canPlayType('video/') == '') OK
EXPECTED (video.canPlayType('video/blahblah') == '') OK
EXPECTED (video.canPlayType('video/blahblah; codecs="blah, , blah"') == '') OK
« no previous file with comments | « LayoutTests/media/media-can-play-type.html ('k') | Source/core/html/HTMLMediaElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698