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

Unified Diff: third_party/WebKit/LayoutTests/media/media-can-play-ogg.html

Issue 2723323002: Update media canPlayType() tests to be spec-compliant (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | third_party/WebKit/LayoutTests/media/media-can-play-webm.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/media-can-play-ogg.html
diff --git a/third_party/WebKit/LayoutTests/media/media-can-play-ogg.html b/third_party/WebKit/LayoutTests/media/media-can-play-ogg.html
index 69bc8dc565ab599b19e034f8517d8a6d86e2e0e1..487f18935e49694b8fc46325e3ae82dae4ec4224 100644
--- a/third_party/WebKit/LayoutTests/media/media-can-play-ogg.html
+++ b/third_party/WebKit/LayoutTests/media/media-can-play-ogg.html
@@ -5,14 +5,14 @@
<video></video>
<script>
test(function() {
- var video = document.querySelector("video");
+ var video = document.querySelector('video');
// These tests may be expected to fail if the platform does not support the format.
- assert_equals(video.canPlayType("audio/ogg"), "maybe");
- assert_equals(video.canPlayType("video/ogg"), "maybe");
+ assert_equals(video.canPlayType('audio/ogg'), 'maybe');
+ assert_equals(video.canPlayType('video/ogg'), 'maybe');
- assert_equals(video.canPlayType("audio/ogg; codecs=vorbis"), "probably");
- assert_equals(video.canPlayType("audio/ogg; codecs=opus"), "probably");
- assert_equals(video.canPlayType("video/ogg; codecs=theora"), "probably");
- assert_equals(video.canPlayType("video/ogg; codecs=theora,vorbis"), "probably");
+ assert_equals(video.canPlayType('audio/ogg; codecs=vorbis'), 'probably');
+ assert_equals(video.canPlayType('audio/ogg; codecs=opus'), 'probably');
+ assert_equals(video.canPlayType('video/ogg; codecs=theora'), 'probably');
+ assert_equals(video.canPlayType('video/ogg; codecs="theora,vorbis"'), 'probably');
});
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/media-can-play-webm.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698