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

Unified Diff: ports/gdb/tests/common.js

Issue 1415743013: Run jshint over all JavaScript files (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@repo_conf
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « ports/gdb/extension/main.js ('k') | ports/gdb/tests/debugger_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/gdb/tests/common.js
diff --git a/ports/gdb/tests/common.js b/ports/gdb/tests/common.js
index f4e5c5dc79e1af59b7a9c1aa53b82d7b25295ecd..7034468b73685d985ad75c2f688b424464e1bb83 100644
--- a/ports/gdb/tests/common.js
+++ b/ports/gdb/tests/common.js
@@ -4,6 +4,8 @@
* found in the LICENSE file.
*/
+/* globals chrometest, ASSERT_NE, ASSERT_FALSE */
+
'use strict';
/**
@@ -77,7 +79,7 @@ function moduleMessageWaiter(module) {
}, module);
module.addEventListener('message', handleMessage, true);
return waiter;
-};
+}
/**
@@ -131,7 +133,7 @@ TestModuleTest.prototype.tearDown = function() {
// Wait for the test module to exit.
return waitForExtraModuleCount(0, self.initialProcesses).then(function() {
// Remove node.
- if (self.object != null) {
+ if (self.object !== null) {
var object = self.object.detach();
self.object = null;
self.rawObject = null;
« no previous file with comments | « ports/gdb/extension/main.js ('k') | ports/gdb/tests/debugger_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698