OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 function getArguments() { | 5 function getArguments() { |
6 // Returns the URL arguments as a dictionary. | 6 // Returns the URL arguments as a dictionary. |
7 args = {} | 7 args = {} |
8 var s = location.search; | 8 var s = location.search; |
9 if (s) { | 9 if (s) { |
10 var vals = s.substring(1).split('&'); | 10 var vals = s.substring(1).split('&'); |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 var bvalue = ((btotal_minus_skipped == 0) ? -1 : | 180 var bvalue = ((btotal_minus_skipped == 0) ? -1 : |
181 (b_rows.length - b_success_or_skipped) / btotal_minus_skipped); | 181 (b_rows.length - b_success_or_skipped) / btotal_minus_skipped); |
182 } | 182 } |
183 return asc * (avalue - bvalue); | 183 return asc * (avalue - bvalue); |
184 }); | 184 }); |
185 | 185 |
186 for (var i = 0; i < rowBlocks.length; i++) { | 186 for (var i = 0; i < rowBlocks.length; i++) { |
187 table.appendChild(rowBlocks[i]); | 187 table.appendChild(rowBlocks[i]); |
188 } | 188 } |
189 } | 189 } |
190 | |
191 function reportIssues() { | |
192 var url = 'https://bugs.chromium.org/p/chromium/issues/entry?' + | |
193 'labels=Pri-2,Type-Bug,Restrict-View-Google&' + | |
194 'summary=Result Details Feedback:&' + | |
195 'comment=Please check out: ' + window.location; | |
196 var newWindow = window.open(url, '_blank'); | |
197 newWindow.focus(); | |
198 } | |
OLD | NEW |