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

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

Issue 408993002: 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 // Utils provide logging functions and other JS functions commonly used by the 5 // Utils provide logging functions and other JS functions commonly used by the
6 // app and media players. 6 // app and media players.
7 var Utils = new function() { 7 var Utils = new function() {
8 this.titleChanged = false; 8 this.titleChanged = false;
9 }; 9 };
10 10
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 var time = Utils.getCurrentTimeString(); 236 var time = Utils.getCurrentTimeString();
237 // Log to document. 237 // Log to document.
238 Utils.documentLog(arguments[0], time); 238 Utils.documentLog(arguments[0], time);
239 // Log to JS console. 239 // Log to JS console.
240 var logString = time + ' - '; 240 var logString = time + ' - ';
241 for (var i = 0; i < arguments.length; i++) { 241 for (var i = 0; i < arguments.length; i++) {
242 logString += ' ' + arguments[i]; 242 logString += ' ' + arguments[i];
243 } 243 }
244 console.log(logString); 244 console.log(logString);
245 }; 245 };
OLDNEW
« no previous file with comments | « media/test/data/eme_player_js/test_config.js ('k') | media/test/data/eme_player_js/widevine_player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698