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

Unified Diff: tracing/tracing/extras/importer/gzip_importer.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/extras/importer/gzip_importer.html
diff --git a/tracing/tracing/extras/importer/gzip_importer.html b/tracing/tracing/extras/importer/gzip_importer.html
index 61059a0db5e90d7f13b49231a53e333fbbe1dbdd..0af7cbee80ed9cc5b1067b6ae120668e0d7a3ecc 100644
--- a/tracing/tracing/extras/importer/gzip_importer.html
+++ b/tracing/tracing/extras/importer/gzip_importer.html
@@ -50,9 +50,9 @@ tr.exportTo('tr.e.importer', function() {
header = JSZip.utils.transformTo('uint8array', header);
} else
return false;
- return header[0] == GZIP_HEADER_ID1 &&
- header[1] == GZIP_HEADER_ID2 &&
- header[2] == GZIP_DEFLATE_COMPRESSION;
+ return header[0] === GZIP_HEADER_ID1 &&
+ header[1] === GZIP_HEADER_ID2 &&
+ header[2] === GZIP_DEFLATE_COMPRESSION;
};
/**
@@ -79,7 +79,7 @@ tr.exportTo('tr.e.importer', function() {
}
function skipZeroTerminatedString() {
- while (getByte() != 0) {}
+ while (getByte() !== 0) {}
}
var id1 = getByte();

Powered by Google App Engine
This is Rietveld 408576698