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

Unified Diff: tracing/tracing/trace2html.html

Issue 2390373003: Change all == to === and != to !== in trace viewer. (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
Index: tracing/tracing/trace2html.html
diff --git a/tracing/tracing/trace2html.html b/tracing/tracing/trace2html.html
index a27d274e991a9ce024bdb04e984a09c3b18205e9..4b410cb040e2c4460e25b4f4d5d547a8502dc170 100644
--- a/tracing/tracing/trace2html.html
+++ b/tracing/tracing/trace2html.html
@@ -50,7 +50,7 @@ document.addEventListener('DOMContentLoaded', function() {
for (var i = 0; i < viewerDataScripts.length; i++) {
var text = Polymer.dom(viewerDataScripts[i]).textContent;
// Trim leading newlines off the text. They happen during writing.
- while (text[0] == '\n')
+ while (text[0] === '\n')
text = text.substring(1);
traces.push(tr.b.Base64.atob(text));
}

Powered by Google App Engine
This is Rietveld 408576698