| 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 =
|
|
|