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

Side by Side Diff: chrome/browser/resources/tracing/test_utils.js

Issue 8771001: Stop about:tracing from dropping child slices of didNotFinish slices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 /** 5 /**
6 * @fileoverview Helper functions for use in tracing tests. 6 * @fileoverview Helper functions for use in tracing tests.
7 */ 7 */
8 cr.define('test_utils', function() { 8 cr.define('test_utils', function() {
9 function getJSON(url, cb) { 9 function getJSON(url, cb) {
10 var req = new XMLHttpRequest(); 10 var req = new XMLHttpRequest();
(...skipping 11 matching lines...) Expand all
22 console.log('Failed to load ' + url); 22 console.log('Failed to load ' + url);
23 } 23 }
24 }, 0); 24 }, 0);
25 } 25 }
26 }; 26 };
27 req.send(null); 27 req.send(null);
28 } 28 }
29 return { 29 return {
30 getJSON: getJSON 30 getJSON: getJSON
31 }; 31 };
32 }); 32 });
James Hawkins 2011/12/01 17:12:49 What is this diff?
nduca 2011/12/01 17:30:33 Trailing newline.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698