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

Side by Side Diff: trunk/src/chrome/test/data/media/eme_player_js/test_config.js

Issue 383063009: Revert 282795 "Have media content and chrome browser tests load ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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 // Test configuration used by test page to configure the player app and other 5 // Test configuration used by test page to configure the player app and other
6 // test specific configurations. 6 // test specific configurations.
7 function TestConfig() { 7 function TestConfig() {
8 this.mediaFile = null; 8 this.mediaFile = null;
9 this.keySystem = null; 9 this.keySystem = null;
10 this.mediaType = null; 10 this.mediaType = null;
(...skipping 11 matching lines...) Expand all
22 var decodeURI = function decodeURI(s) { 22 var decodeURI = function decodeURI(s) {
23 return decodeURIComponent(s.replace(/\+/g, ' ')); 23 return decodeURIComponent(s.replace(/\+/g, ' '));
24 }; 24 };
25 var match; 25 var match;
26 while (match = r.exec(window.location.search.substring(1))) 26 while (match = r.exec(window.location.search.substring(1)))
27 this[decodeURI(match[1])] = decodeURI(match[2]); 27 this[decodeURI(match[1])] = decodeURI(match[2]);
28 this.useMSE = this.useMSE == '1' || this.useMSE == 'true'; 28 this.useMSE = this.useMSE == '1' || this.useMSE == 'true';
29 this.usePrefixedEME = 29 this.usePrefixedEME =
30 this.usePrefixedEME == '1' || this.usePrefixedEME == 'true'; 30 this.usePrefixedEME == '1' || this.usePrefixedEME == 'true';
31 }; 31 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698