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

Unified Diff: tracing/tracing/base/unittest/suite_loader.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (Closed)
Patch Set: more changes from code review Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: tracing/tracing/base/unittest/suite_loader.html
diff --git a/tracing/tracing/base/unittest/suite_loader.html b/tracing/tracing/base/unittest/suite_loader.html
index 655bb4003c4d1c0d3917897199600a7655b19363..c5be2b85a2a27e79a395bb7308ddb1e2c56e7862 100644
--- a/tracing/tracing/base/unittest/suite_loader.html
+++ b/tracing/tracing/base/unittest/suite_loader.html
@@ -52,9 +52,9 @@ tr.exportTo('tr.b.unittest', function() {
if (!m)
throw new Error('Guessing module name failed');
var path = m[1];
- if (path[0] != '/')
+ if (path[0] !== '/')
throw new Error('malformed path');
- if (path.substring(path.length - 5) != '.html')
+ if (path.substring(path.length - 5) !== '.html')
throw new Error('Cannot define testSuites outside html imports');
var parts = path.substring(1, path.length - 5).split('/');
return parts.join('.');
@@ -228,7 +228,7 @@ tr.exportTo('tr.b.unittest', function() {
var suite = this.testSuites[i];
for (var j = 0; j < suite.tests.length; j++) {
var test = suite.tests[j];
- if (test.fullyQualifiedName == fullyQualifiedName)
+ if (test.fullyQualifiedName === fullyQualifiedName)
return test;
}
}
« no previous file with comments | « tracing/tracing/base/unittest/interactive_test_runner.html ('k') | tracing/tracing/base/unittest/test_case.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698