Index: tracing/tracing/base/unittest/html_test_results.html |
diff --git a/tracing/tracing/base/unittest/html_test_results.html b/tracing/tracing/base/unittest/html_test_results.html |
index 511e2d27b1a9cd8f29da5aed476783c04a78d3c4..d648fff082dd6e46a3ccc89c3620e3bd97a50461 100644 |
--- a/tracing/tracing/base/unittest/html_test_results.html |
+++ b/tracing/tracing/base/unittest/html_test_results.html |
@@ -208,7 +208,7 @@ tr.exportTo('tr.b.unittest', function() { |
if (this.showHTMLOutput) |
display = ''; |
else |
- display = (this.testStatus_ == TestStatus.RUNNING) ? '' : 'none'; |
+ display = (this.testStatus_ === TestStatus.RUNNING) ? '' : 'none'; |
for (var i = 0; i < htmlResults.length; i++) |
htmlResults[i].style.display = display; |
}, |
@@ -249,10 +249,10 @@ tr.exportTo('tr.b.unittest', function() { |
} else if (this.isFlaky) { |
colorCls = 'unittest-flaky'; |
status = 'flaky'; |
- } else if (this.testStatus_ == TestStatus.PENDING) { |
+ } else if (this.testStatus_ === TestStatus.PENDING) { |
colorCls = 'unittest-pending'; |
status = 'pending'; |
- } else if (this.testStatus_ == TestStatus.RUNNING) { |
+ } else if (this.testStatus_ === TestStatus.RUNNING) { |
colorCls = 'unittest-running'; |
status = 'running'; |
} else { // DONE_RUNNING and no errors |
@@ -345,7 +345,7 @@ tr.exportTo('tr.b.unittest', function() { |
updateDisplayStateForResult_: function(res) { |
var display; |
if (this.showPendingAndPassedTests_) { |
- if (res.testStatus == TestStatus.RUNNING || |
+ if (res.testStatus === TestStatus.RUNNING || |
res.hadErrors) { |
display = ''; |
} else { |
@@ -466,10 +466,10 @@ tr.exportTo('tr.b.unittest', function() { |
notifyTestCompletionToDevServer_: function() { |
if (this.numTestsThatPassed_ + this.numTestsThatFailed_ + |
- this.numFlakyTests_ == 0) { |
+ this.numFlakyTests_ === 0) { |
return; |
} |
- var data = this.numTestsThatFailed_ == 0 ? 'ALL_PASSED' : 'HAD_FAILURES'; |
+ var data = this.numTestsThatFailed_ === 0 ? 'ALL_PASSED' : 'HAD_FAILURES'; |
data += '\nPassed tests: ' + this.numTestsThatPassed_ + |
' Failed tests: ' + this.numTestsThatFailed_ + |
' Flaky tests: ' + this.numFlakyTests_; |