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

Side by Side Diff: Tools/TestResultServer/static-dashboards/flakiness_dashboard.js

Issue 402643002: Do not wrap the bugs column on the flakiness dashboard (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Just add nowrap on the link 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
« no previous file with comments | « no previous file | Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (C) 2012 Google Inc. All rights reserved. 1 // Copyright (C) 2012 Google Inc. All rights reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are 4 // modification, are permitted provided that the following conditions are
5 // met: 5 // met:
6 // 6 //
7 // * Redistributions of source code must retain the above copyright 7 // * 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 // * Redistributions in binary form must reproduce the above 9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following disclaimer 10 // copyright notice, this list of conditions and the following disclaimer
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 604
605 function createBugHTML(test) 605 function createBugHTML(test)
606 { 606 {
607 var symptom = test.isFlaky ? 'flaky' : 'failing'; 607 var symptom = test.isFlaky ? 'flaky' : 'failing';
608 var title = encodeURIComponent('Layout Test ' + test.test + ' is ' + symptom ); 608 var title = encodeURIComponent('Layout Test ' + test.test + ' is ' + symptom );
609 var description = encodeURIComponent('The following layout test is ' + sympt om + ' on ' + 609 var description = encodeURIComponent('The following layout test is ' + sympt om + ' on ' +
610 '[insert platform]\n\n' + test.test + '\n\nProbable cause:\n\n' + 610 '[insert platform]\n\n' + test.test + '\n\nProbable cause:\n\n' +
611 '[insert probable cause]'); 611 '[insert probable cause]');
612 612
613 url = 'https://code.google.com/p/chromium/issues/entry?template=Layout%20Tes t%20Failure&summary=' + title + '&comment=' + description; 613 url = 'https://code.google.com/p/chromium/issues/entry?template=Layout%20Tes t%20Failure&summary=' + title + '&comment=' + description;
614 return '<a href="' + url + '">File new bug</a>'; 614 return '<a class="file-new-bug" href="' + url + '">File new bug</a>';
615 } 615 }
616 616
617 function isCrossBuilderView() 617 function isCrossBuilderView()
618 { 618 {
619 return g_history.dashboardSpecificState.tests || g_history.dashboardSpecific State.result; 619 return g_history.dashboardSpecificState.tests || g_history.dashboardSpecific State.result;
620 } 620 }
621 621
622 function tableHeaders(opt_getAll) 622 function tableHeaders(opt_getAll)
623 { 623 {
624 var headers = []; 624 var headers = [];
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 // escape key 1380 // escape key
1381 hideLegend(); 1381 hideLegend();
1382 ui.popup.hide(); 1382 ui.popup.hide();
1383 } 1383 }
1384 }, false); 1384 }, false);
1385 1385
1386 window.addEventListener('load', function() { 1386 window.addEventListener('load', function() {
1387 resourceLoader = new loader.Loader(); 1387 resourceLoader = new loader.Loader();
1388 resourceLoader.load(); 1388 resourceLoader.load();
1389 }, false); 1389 }, false);
OLDNEW
« no previous file with comments | « no previous file | Tools/TestResultServer/static-dashboards/flakiness_dashboard_tests.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698