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

Unified Diff: chrome/test/data/media/eme_player_js/globals.js

Issue 308553002: Integrate browser tests with new EME player. (Closed) Base URL: http://git.chromium.org/chromium/src.git@eme_player
Patch Set: Created 6 years, 7 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
Index: chrome/test/data/media/eme_player_js/globals.js
diff --git a/chrome/test/data/media/eme_player_js/globals.js b/chrome/test/data/media/eme_player_js/globals.js
index 2e19ac5b1f3a6e89fdc512e65047ccb320f5cc47..77e5847b12c32ce4745de9795b47e270f21aa0e5 100644
--- a/chrome/test/data/media/eme_player_js/globals.js
+++ b/chrome/test/data/media/eme_player_js/globals.js
@@ -18,6 +18,9 @@ var DEFAULT_MEDIA_FILE = 'http://shadi.kir/alcatraz/Chrome_44-enc_av.webm';
// Key ID used for init data.
var KEY_ID = '0123456789012345';
+// Unique strings to identify test result expectations.
+var KEY_ERROR = 'KEY_ERROR';
+
// Available EME key systems to use.
var PREFIXED_CLEARKEY = 'webkit-org.w3.clearkey';
var CLEARKEY = 'org.w3.clearkey';
@@ -47,6 +50,7 @@ if (video.webkitAddKey)
EME_VERSIONS_OPTIONS['Prefixed EME (v 0.1b)'] = 'true';
if (video.setMediaKeys)
EME_VERSIONS_OPTIONS['Unprefixed EME (Working draft)'] = 'false';
jrummell 2014/05/29 21:45:05 If there is only unprefixed EME available, wouldn'
shadi 2014/05/31 00:31:37 The true|false is for usePrefixedEME value. If the
+video = null;
jrummell 2014/05/29 21:45:05 It appears that the use of video here is just a lo
shadi 2014/05/31 00:31:37 Done.
// Global document elements ID's.
var VIDEO_ELEMENT_ID = 'video';

Powered by Google App Engine
This is Rietveld 408576698