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

Side by Side Diff: Tools/GardeningServer/scripts/ui.js

Issue 349783003: Polymer-based Garden-O-Matic should have a basic results panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar flex 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 20 matching lines...) Expand all
31 { 31 {
32 return config.waterfallURL + '?' + $.param({ 32 return config.waterfallURL + '?' + $.param({
33 'builder': builderName 33 'builder': builderName
34 }); 34 });
35 } 35 }
36 36
37 ui.kUseNewWindowForLinksSetting = 'gardenomatic.use-new-window-for-links'; 37 ui.kUseNewWindowForLinksSetting = 'gardenomatic.use-new-window-for-links';
38 38
39 ui.displayNameForBuilder = function(builderName) 39 ui.displayNameForBuilder = function(builderName)
40 { 40 {
41 return builderName.replace(/Webkit /, ''); 41 return builderName.replace(/Webkit /i, '');
42 } 42 }
43 43
44 ui.urlForCrbug = function(bugID) 44 ui.urlForCrbug = function(bugID)
45 { 45 {
46 return 'http://crbug.com/' + bugID; 46 return 'http://crbug.com/' + bugID;
47 } 47 }
48 48
49 ui.urlForFlakinessDashboard = function(opt_testNameList) 49 ui.urlForFlakinessDashboard = function(opt_testNameList)
50 { 50 {
51 var testsParameter = opt_testNameList ? opt_testNameList.join(',') : ''; 51 var testsParameter = opt_testNameList ? opt_testNameList.join(',') : '';
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // We want this feature, but need to fetch the lastBlinkRollRevision via the interwebs. 301 // We want this feature, but need to fetch the lastBlinkRollRevision via the interwebs.
302 // Promise.all([checkout.lastBlinkRollRevision(), rollbot.fetchCurrentRo ll()]).then(function(results) { 302 // Promise.all([checkout.lastBlinkRollRevision(), rollbot.fetchCurrentRo ll()]).then(function(results) {
303 // theSpan.lastRolledRevision = results[0]; 303 // theSpan.lastRolledRevision = results[0];
304 // theSpan.roll = results[1]; 304 // theSpan.roll = results[1];
305 // theSpan.updateUI(totRevision); 305 // theSpan.updateUI(totRevision);
306 // }); 306 // });
307 } 307 }
308 }); 308 });
309 309
310 })(); 310 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698