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

Unified Diff: tracing/tracing/extras/importer/trace2html_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/trace2html_importer.html
diff --git a/tracing/tracing/extras/importer/trace2html_importer.html b/tracing/tracing/extras/importer/trace2html_importer.html
index 018f6aabb5f06f7c9fb927d0d69430af0737bb38..dd0cf112a4717b8a0d12556f270da19f279bdf21 100644
--- a/tracing/tracing/extras/importer/trace2html_importer.html
+++ b/tracing/tracing/extras/importer/trace2html_importer.html
@@ -51,7 +51,7 @@ tr.exportTo('tr.e.importer', function() {
}
function _canImportFromHTML(text) {
- if (/^<!DOCTYPE html>/.test(text) === false)
+ if (!/^<!DOCTYPE html>/.test(text))
return false;
// Try to find viewer-data...
« no previous file with comments | « tracing/tracing/extras/importer/linux_perf/sync_parser.html ('k') | tracing/tracing/extras/importer/trace_code_map.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698