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

Side by Side Diff: chrome/test/data/perf/rendering/throughput/canvas2d_balls_common/parse_url.js

Issue 124393006: Remove throughput_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove change to window_snapshot.h Created 6 years, 11 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
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 function getArgValue(argname)
6 {
7 var url = window.location.href;
8 var parts = url.split("?");
9 if (parts.length == 0)
10 {
11 return "";
12 }
13 var arglist = parts[1];
14 var args = arglist.split("&");
15 for (i=0;i<args.length;i++)
16 {
17 var parts = args[i].split("=");
18 if (parts[0] == argname)
19 {
20 value = parts[1];
21 value = unescape(value);
22 return value;
23 }
24 }
25 return "";
26 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698