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

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

Issue 550933003: Update eme_player tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « media/test/data/eme_player_js/clearkey_player.js ('k') | media/test/data/eme_player_js/player_utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/data/eme_player_js/globals.js
diff --git a/media/test/data/eme_player_js/globals.js b/media/test/data/eme_player_js/globals.js
index c608dfebbc2cd6f1a153636bc2bfc632f673ceed..a3c4bde90d666d3000ad6cfbe0c60a92cb19e12c 100644
--- a/media/test/data/eme_player_js/globals.js
+++ b/media/test/data/eme_player_js/globals.js
@@ -56,13 +56,10 @@ EME_VERSIONS_OPTIONS[EME_UNPREFIXED_VERSION] = EME_UNPREFIXED_VERSION;
EME_VERSIONS_OPTIONS[EME_PREFIXED_VERSION] = EME_PREFIXED_VERSION;
var EME_DISABLED_OPTIONS = [];
-var PROMISES_SUPPORTED = false;
if (!document.createElement('video').webkitAddKey)
EME_DISABLED_OPTIONS.push(EME_PREFIXED_VERSION);
if (!document.createElement('video').setMediaKeys)
EME_DISABLED_OPTIONS.push(EME_UNPREFIXED_VERSION);
-else
- PROMISES_SUPPORTED = MediaKeys.create != undefined;
// Global document elements ID's.
var VIDEO_ELEMENT_ID = 'video';
« no previous file with comments | « media/test/data/eme_player_js/clearkey_player.js ('k') | media/test/data/eme_player_js/player_utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698