summaryrefslogtreecommitdiff
path: root/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-11-22 09:09:45 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2012-11-22 09:10:13 +0100
commit470286ecfe79d59df14944e5b5d34630fc739391 (patch)
tree43983212872e06cebefd2ae474418fa2908ca54c /Tools/TestResultServer/static-dashboards/flakiness_dashboard.js
parent23037105e948c2065da5a937d3a2396b0ff45c1e (diff)
downloadqtwebkit-470286ecfe79d59df14944e5b5d34630fc739391.tar.gz
Imported WebKit commit e89504fa9195b2063b2530961d4b73dd08de3242 (http://svn.webkit.org/repository/webkit/trunk@135485)
Change-Id: I03774e5ac79721c13ffa30d152537a74d0b12e66 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'Tools/TestResultServer/static-dashboards/flakiness_dashboard.js')
-rw-r--r--Tools/TestResultServer/static-dashboards/flakiness_dashboard.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js b/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js
index 7589e3424..d44e3e58e 100644
--- a/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js
+++ b/Tools/TestResultServer/static-dashboards/flakiness_dashboard.js
@@ -1223,7 +1223,7 @@ function showPopupForBuild(e, builder, index, opt_testName)
'WebKit') +
'</li>';
- if (master == WEBKIT_BUILDER_MASTER) {
+ if (master.name == WEBKIT_BUILDER_MASTER) {
var revision = g_resultsByBuilder[builder].webkitRevision[index];
html += '<li><span class=link onclick="setQueryParameter(\'revision\',' +
revision + ')">Show results for WebKit r' + revision +
@@ -1291,7 +1291,7 @@ function htmlForTestResults(test)
var extraClassNames = '';
var webkitRevision = g_resultsByBuilder[builder].webkitRevision;
var isWebkitMerge = webkitRevision[i + 1] && webkitRevision[i] != webkitRevision[i + 1];
- if (isWebkitMerge && master != WEBKIT_BUILDER_MASTER)
+ if (isWebkitMerge && master.name != WEBKIT_BUILDER_MASTER)
extraClassNames += ' merge';
html += '<td title="' + (resultString || 'NO DATA') + '. Click for more info." class="results ' + currentResult +
@@ -1821,7 +1821,7 @@ function htmlForIndividualTestOnAllBuildersWithResultsLinks(test)
if (isLayoutTestResults() || isGPUTestResults()) {
if (isLayoutTestResults())
html += ' | ' + linkHTMLToToggleState('showLargeExpectations', 'large thumbnails');
- if (testResults && builderMaster(testResults[0].builder) == WEBKIT_BUILDER_MASTER) {
+ if (testResults && currentBuilderGroup().master().name == WEBKIT_BUILDER_MASTER) {
var revision = g_currentState.revision || '';
html += '<form onsubmit="setQueryParameter(\'revision\', revision.value);' +
'return false;">Show results for WebKit revision: ' +
@@ -2256,7 +2256,7 @@ function loadExpectationsLayoutTests(test, expectationsContainer)
revisionContainer.textContent = "Showing results for: "
expectationsContainer.appendChild(revisionContainer);
for (var builder in g_builders) {
- if (builderMaster(builder) == WEBKIT_BUILDER_MASTER) {
+ if (builderMaster(builder).name == WEBKIT_BUILDER_MASTER) {
var latestRevision = g_currentState.revision || g_resultsByBuilder[builder].webkitRevision[0];
var buildInfo = buildInfoForRevision(builder, latestRevision);
var revisionInfo = document.createElement('div');
@@ -2274,7 +2274,7 @@ function loadExpectationsLayoutTests(test, expectationsContainer)
for (var builder in g_builders) {
var actualResultsBase;
- if (builderMaster(builder) == WEBKIT_BUILDER_MASTER) {
+ if (builderMaster(builder).name == WEBKIT_BUILDER_MASTER) {
var latestRevision = g_currentState.revision || g_resultsByBuilder[builder].webkitRevision[0];
var buildInfo = buildInfoForRevision(builder, latestRevision);
actualResultsBase = 'http://build.webkit.org/results/' + builder +