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

Unified Diff: tracing/tracing/ui/analysis/related_events_test.html

Issue 2432993005: Turn on eslint rule one-var and fix existing errors. (Closed)
Patch Set: 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
« no previous file with comments | « tracing/tracing/ui/analysis/generic_object_view.html ('k') | tracing/tracing/ui/base/chart_base_2d.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/analysis/related_events_test.html
diff --git a/tracing/tracing/ui/analysis/related_events_test.html b/tracing/tracing/ui/analysis/related_events_test.html
index b6e918832fca9c9b845f3cd4d34547f23157504b..8f327d6380c4ec332b052584d51779ca6840367f 100644
--- a/tracing/tracing/ui/analysis/related_events_test.html
+++ b/tracing/tracing/ui/analysis/related_events_test.html
@@ -126,7 +126,9 @@ tr.b.unittest.testSuite(function() {
this.addHTMLOutput(viewEl);
tr.b.forceAllPendingTasksToRunForTest();
- var inFlows, outFlows, internalFlows;
+ var inFlows;
+ var outFlows;
+ var internalFlows;
viewEl.$.table.tableRows.forEach(function(row) {
if (row.type === 'Incoming flow') {
assert.isUndefined(inFlows);
@@ -157,7 +159,9 @@ tr.b.unittest.testSuite(function() {
this.addHTMLOutput(viewEl);
tr.b.forceAllPendingTasksToRunForTest();
- var precedingEvents, followingEvents, allEvents;
+ var precedingEvents;
+ var followingEvents;
+ var allEvents;
viewEl.$.table.tableRows.forEach(function(row) {
if (row.type === 'Preceding events') {
assert.isUndefined(precedingEvents);
« no previous file with comments | « tracing/tracing/ui/analysis/generic_object_view.html ('k') | tracing/tracing/ui/base/chart_base_2d.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698