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

Side by Side Diff: chrome/browser/resources/net_internals/test_view.js

Issue 9521006: Cleanup some classnames to match style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase off head Created 8 years, 9 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) 2012 The Chromium Authors. All rights reserved. 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 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 * This view displays the progress and results from the "connection tester". 6 * This view displays the progress and results from the "connection tester".
7 * 7 *
8 * - Has an input box to specify the URL. 8 * - Has an input box to specify the URL.
9 * - Has a button to start running the tests. 9 * - Has a button to start running the tests.
10 * - Shows the set of experiments that have been run so far, and their 10 * - Shows the set of experiments that have been run so far, and their
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 */ 63 */
64 onStartedConnectionTestSuite: function() { 64 onStartedConnectionTestSuite: function() {
65 this.summaryDiv_.innerHTML = ''; 65 this.summaryDiv_.innerHTML = '';
66 66
67 var p = addNode(this.summaryDiv_, 'p'); 67 var p = addNode(this.summaryDiv_, 'p');
68 addTextNode(p, 'Started connection test suite suite on '); 68 addTextNode(p, 'Started connection test suite suite on ');
69 timeutil.addNodeWithDate(p, new Date()); 69 timeutil.addNodeWithDate(p, new Date());
70 70
71 // Add a table that will hold the individual test results. 71 // Add a table that will hold the individual test results.
72 var table = addNode(this.summaryDiv_, 'table'); 72 var table = addNode(this.summaryDiv_, 'table');
73 table.className = 'styledTable'; 73 table.className = 'styled-table';
74 var thead = addNode(table, 'thead'); 74 var thead = addNode(table, 'thead');
75 thead.innerHTML = '<tr><th>Result</th><th>Experiment</th>' + 75 thead.innerHTML = '<tr><th>Result</th><th>Experiment</th>' +
76 '<th>Error</th><th>Time (ms)</th></tr>'; 76 '<th>Error</th><th>Time (ms)</th></tr>';
77 77
78 this.tbody_ = addNode(table, 'tbody'); 78 this.tbody_ = addNode(table, 'tbody');
79 }, 79 },
80 80
81 /** 81 /**
82 * Callback for when an individual test in the suite has begun. 82 * Callback for when an individual test in the suite has begun.
83 */ 83 */
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 * Callback for when the last test in the suite has finished. 153 * Callback for when the last test in the suite has finished.
154 */ 154 */
155 onCompletedConnectionTestSuite: function() { 155 onCompletedConnectionTestSuite: function() {
156 var p = addNode(this.summaryDiv_, 'p'); 156 var p = addNode(this.summaryDiv_, 'p');
157 addTextNode(p, 'Completed connection test suite suite'); 157 addTextNode(p, 'Completed connection test suite suite');
158 } 158 }
159 }; 159 };
160 160
161 return TestView; 161 return TestView;
162 })(); 162 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/net_internals/test_view.html ('k') | chrome/test/data/webui/net_internals/net_internals_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698