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

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: negative test for encrypted video added 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";
ddorwin 2016/03/31 22:31:12 I believe the title watcher only checks the start
hubbe 2016/04/01 00:20:59 It does not: https://code.google.com/p/chromium/co
ddorwin 2016/04/01 00:36:42 Hmm. We had one test where something like that was
jrummell 2016/04/01 00:52:52 I think if the title is not matched completely the
hubbe 2016/04/04 22:01:49 Yep, that is exactly what happens.
hubbe 2016/04/04 22:01:49 Sounds like a good idea, done.
+ }
};
// 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