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

Unified Diff: tracing/tracing/ui/extras/drive/index.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/ui/extras/drive/index.html
diff --git a/tracing/tracing/ui/extras/drive/index.html b/tracing/tracing/ui/extras/drive/index.html
index 228a63865832f1e779baa70db756bac5e150dda9..4b31b5fc68d7f2aeb613da2d9a2cd1bb0786fff3 100644
--- a/tracing/tracing/ui/extras/drive/index.html
+++ b/tracing/tracing/ui/extras/drive/index.html
@@ -196,7 +196,7 @@ found in the LICENSE file.
// Use the Google API Loader script to load the google.picker script.
onAPIClientLoaded_ = function() {
var driveState = parseGETParameter('state');
- if (driveState != null) {
+ if (driveState !== null) {
var driveStateJson = JSON.parse(driveState);
fileIdToLoad_ = String(driveStateJson.ids);
}
@@ -222,12 +222,12 @@ found in the LICENSE file.
function onPickerApiLoad() {
pickerApiLoaded_ = true;
- if (fileIdToLoad_ == null)
+ if (fileIdToLoad_ === null)
createPicker();
}
function onAuthResultSuccess() {
- if (fileIdToLoad_ == null)
+ if (fileIdToLoad_ === null)
createPicker();
else
loadFileFromDrive(fileIdToLoad_);
@@ -261,7 +261,7 @@ found in the LICENSE file.
}
function pickerCallback(data) {
- if (data.action == google.picker.Action.PICKED) {
+ if (data.action === google.picker.Action.PICKED) {
loadFileFromDrive(data.docs[0].id);
}
}
« no previous file with comments | « tracing/tracing/ui/extras/deep_reports/html_results.html ('k') | tracing/tracing/ui/extras/highlighter/vsync_highlighter.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698