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

Side by Side Diff: media/test/data/eme_player_js/eme_app.js

Issue 398823004: Have media content and chrome browser tests load data from media/test/data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // EMEApp is responsible for starting playback on the eme_player.html page. 5 // EMEApp is responsible for starting playback on the eme_player.html page.
6 // It selects the suitable player based on key system and other test options. 6 // It selects the suitable player based on key system and other test options.
7 function EMEApp(testConfig) { 7 function EMEApp(testConfig) {
8 this.video_ = null; 8 this.video_ = null;
9 this.testConfig_ = testConfig; 9 this.testConfig_ = testConfig;
10 this.updateDocument(testConfig); 10 this.updateDocument(testConfig);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 this.testConfig_.mediaType = 72 this.testConfig_.mediaType =
73 document.getElementById(MEDIA_TYPE_ELEMENT_ID).value; 73 document.getElementById(MEDIA_TYPE_ELEMENT_ID).value;
74 this.testConfig_.useMSE = 74 this.testConfig_.useMSE =
75 document.getElementById(USE_MSE_ELEMENT_ID).value == 'true'; 75 document.getElementById(USE_MSE_ELEMENT_ID).value == 'true';
76 this.testConfig_.usePrefixedEME = ( 76 this.testConfig_.usePrefixedEME = (
77 document.getElementById(USE_PREFIXED_EME_ID).value == 77 document.getElementById(USE_PREFIXED_EME_ID).value ==
78 EME_PREFIXED_VERSION); 78 EME_PREFIXED_VERSION);
79 this.testConfig_.licenseServerURL = 79 this.testConfig_.licenseServerURL =
80 document.getElementById(LICENSE_SERVER_ELEMENT_ID).value; 80 document.getElementById(LICENSE_SERVER_ELEMENT_ID).value;
81 }; 81 };
OLDNEW
« no previous file with comments | « media/test/data/eme_player_js/clearkey_player.js ('k') | media/test/data/eme_player_js/file_io_test_player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698