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

Side by Side Diff: trunk/src/content/test/data/media/media_utils.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 var QueryString = function() { 5 var QueryString = function() {
6 // Allows access to query parameters on the URL; e.g., given a URL like: 6 // Allows access to query parameters on the URL; e.g., given a URL like:
7 // http://<server>/my.html?test=123&bob=123 7 // http://<server>/my.html?test=123&bob=123
8 // Parameters can then be accessed via QueryString.test or QueryString.bob. 8 // Parameters can then be accessed via QueryString.test or QueryString.bob.
9 var params = {}; 9 var params = {};
10 // RegEx to split out values by &. 10 // RegEx to split out values by &.
(...skipping 30 matching lines...) Expand all
41 element.addEventListener(event, function(e) { 41 element.addEventListener(event, function(e) {
42 setResultInTitle(event.toString()); 42 setResultInTitle(event.toString());
43 }, false); 43 }, false);
44 } 44 }
45 45
46 function convertToArray(input) { 46 function convertToArray(input) {
47 if (Array.isArray(input)) 47 if (Array.isArray(input))
48 return input; 48 return input;
49 return [input]; 49 return [input];
50 } 50 }
OLDNEW
« no previous file with comments | « trunk/src/content/test/data/media/media_source_utils.js ('k') | trunk/src/content/test/data/media/mse_config_change.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698