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

Unified Diff: media/test/data/test_key_system_instantiation.html

Issue 1837963004: Make CanPlayType return "probably" for HI10P h264 videos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 4 years, 9 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
« media/base/mime_util_internal.cc ('K') | « media/base/mime_util_internal.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/data/test_key_system_instantiation.html
diff --git a/media/test/data/test_key_system_instantiation.html b/media/test/data/test_key_system_instantiation.html
index 93e48694ebad89c69823b2aca38777e51daba239..489a3dba4ad706a16d3138ba1f03aefbeaa999e2 100644
--- a/media/test/data/test_key_system_instantiation.html
+++ b/media/test/data/test_key_system_instantiation.html
@@ -4,7 +4,14 @@
// Since promises run asynchronously, use the pages title to keep track
// of the result.
function setResultInTitle(title) {
- document.title = title;
+ if (title == "" || title == "success" ||
+ title == "Unsupported keySystem" ||
+ title == "None of the requested configurations were supported.") {
+ document.title = title;
+ } else {
+ console.log("Result: " + title);
+ document.title = "failure";
+ }
};
// Compares 2 arrays of MediaKeySystemMediaCapability, comparing only
« media/base/mime_util_internal.cc ('K') | « media/base/mime_util_internal.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698