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

Unified Diff: tracing/tracing/extras/importer/gzip_importer_test.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 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/extras/importer/gzip_importer_test.html
diff --git a/tracing/tracing/extras/importer/gzip_importer_test.html b/tracing/tracing/extras/importer/gzip_importer_test.html
index ea64eb0188bff2a954a974756dbe931685d56355..c46192db3db1057487d6f69de68538a50c1a301f 100644
--- a/tracing/tracing/extras/importer/gzip_importer_test.html
+++ b/tracing/tracing/extras/importer/gzip_importer_test.html
@@ -43,8 +43,9 @@ tr.b.unittest.testSuite(function() {
var gzipData = Base64.atob(GZIP_DATA_BASE_64);
var buffer = new ArrayBuffer(gzipData.length);
var view = new Uint8Array(buffer);
- for (var i = 0; i < gzipData.length; i++)
+ for (var i = 0; i < gzipData.length; i++) {
view[i] = gzipData.charCodeAt(i);
+ }
var importer = new tr.e.importer.GzipImporter(null, buffer);
assert.isTrue(tr.e.importer.GzipImporter.canImport(buffer));
assert.equal(importer.extractSubtraces()[0], ORIGINAL_DATA);
« no previous file with comments | « tracing/tracing/extras/importer/gzip_importer.html ('k') | tracing/tracing/extras/importer/linux_perf/android_parser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698