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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/media/media-can-play-type.html ('k') | Source/core/html/HTMLMediaElement.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test HTMLMediaElement canPlayType() method. 1 Test HTMLMediaElement canPlayType() method.
2 2
3 EXPECTED (video.canPlayType() == '') OK 3 TEST(video.canPlayType()) THROWS("TypeError: Failed to execute 'canPlayType' on 'HTMLMediaElement': 1 argument required, but only 0 present.") OK
4 EXPECTED (video.canPlayType('video/') == '') OK 4 EXPECTED (video.canPlayType('video/') == '') OK
5 EXPECTED (video.canPlayType('video/blahblah') == '') OK 5 EXPECTED (video.canPlayType('video/blahblah') == '') OK
6 EXPECTED (video.canPlayType('video/blahblah; codecs="blah, , blah"') == '') OK 6 EXPECTED (video.canPlayType('video/blahblah; codecs="blah, , blah"') == '') OK
7 EXPECTED (video.canPlayType('video/blahblah; codecs=blah') == '') OK 7 EXPECTED (video.canPlayType('video/blahblah; codecs=blah') == '') OK
8 EXPECTED (video.canPlayType('video/blahblah; codecs="blah"') == '') OK 8 EXPECTED (video.canPlayType('video/blahblah; codecs="blah"') == '') OK
9 EXPECTED (video.canPlayType('video/blahblah; codecs="badcontent') == '') OK 9 EXPECTED (video.canPlayType('video/blahblah; codecs="badcontent') == '') OK
10 EXPECTED (video.canPlayType('video/blahblah; codecs=badcontent"') == '') OK 10 EXPECTED (video.canPlayType('video/blahblah; codecs=badcontent"') == '') OK
11 EXPECTED (video.canPlayType('video/blahblah; codecs="badcontent"') == '') OK 11 EXPECTED (video.canPlayType('video/blahblah; codecs="badcontent"') == '') OK
12 END OF TEST 12 END OF TEST
13 13
OLDNEW
« 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