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

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

Issue 1712903002: Remove prefixed EME. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix isRenewalMessage() in browser tests. Created 4 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 | « media/test/data/eme_player_js/prefixed_widevine_player.js ('k') | media/test/data/eme_player_js/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/test_config.js
diff --git a/media/test/data/eme_player_js/test_config.js b/media/test/data/eme_player_js/test_config.js
index 7b3967008e2785a37b200d5bc6c2c020d5d442ab..07e8658ca36b3bc9624a8b45e77050d1aa849d57 100644
--- a/media/test/data/eme_player_js/test_config.js
+++ b/media/test/data/eme_player_js/test_config.js
@@ -10,7 +10,6 @@ function TestConfig() {
this.mediaType = null;
this.licenseServerURL = null;
this.useMSE = false;
- this.usePrefixedEME = false;
this.runFPS = false;
this.playTwice = false;
}
@@ -27,26 +26,13 @@ TestConfig.prototype.loadQueryParams = function() {
while (match = r.exec(window.location.search.substring(1)))
this[decodeURI(match[1])] = decodeURI(match[2]);
this.useMSE = this.useMSE == '1' || this.useMSE == 'true';
- this.usePrefixedEME =
- this.usePrefixedEME == '1' || this.usePrefixedEME == 'true';
this.playTwice = this.playTwice == '1' || this.playTwice == 'true';
-
- // Validate that the prefixed/unprefixed EME is available.
- if (this.usePrefixedEME) {
- if (EME_DISABLED_OPTIONS.indexOf(EME_PREFIXED_VERSION) >= 0)
- Utils.failTest('Prefixed EME not available.')
- } else {
- if (EME_DISABLED_OPTIONS.indexOf(EME_UNPREFIXED_VERSION) >= 0)
- Utils.failTest('Unprefixed EME not available.')
- }
};
TestConfig.updateDocument = function() {
this.loadQueryParams();
Utils.addOptions(KEYSYSTEM_ELEMENT_ID, KEY_SYSTEMS);
Utils.addOptions(MEDIA_TYPE_ELEMENT_ID, MEDIA_TYPES);
- Utils.addOptions(USE_PREFIXED_EME_ID, EME_VERSIONS_OPTIONS,
- EME_DISABLED_OPTIONS);
document.getElementById(MEDIA_FILE_ELEMENT_ID).value =
this.mediaFile || DEFAULT_MEDIA_FILE;
@@ -59,8 +45,6 @@ TestConfig.updateDocument = function() {
if (this.mediaType)
Utils.ensureOptionInList(MEDIA_TYPE_ELEMENT_ID, this.mediaType);
document.getElementById(USE_MSE_ELEMENT_ID).value = this.useMSE;
- if (this.usePrefixedEME)
- document.getElementById(USE_PREFIXED_EME_ID).value = EME_PREFIXED_VERSION;
document.getElementById(USE_PLAY_TWICE_ELEMENT_ID).value = this.playTwice;
};
@@ -70,8 +54,6 @@ TestConfig.init = function() {
this.keySystem = document.getElementById(KEYSYSTEM_ELEMENT_ID).value;
this.mediaType = document.getElementById(MEDIA_TYPE_ELEMENT_ID).value;
this.useMSE = document.getElementById(USE_MSE_ELEMENT_ID).value == 'true';
- this.usePrefixedEME = document.getElementById(USE_PREFIXED_EME_ID).value ==
- EME_PREFIXED_VERSION;
this.playTwice =
document.getElementById(USE_PLAY_TWICE_ELEMENT_ID).value == 'true';
this.licenseServerURL =
« no previous file with comments | « media/test/data/eme_player_js/prefixed_widevine_player.js ('k') | media/test/data/eme_player_js/utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698