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

Unified Diff: test/mjsunit/debug-references.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years 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 | « test/mjsunit/debug-referenced-by.js ('k') | test/mjsunit/debug-return-value.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-references.js
diff --git a/test/mjsunit/debug-references.js b/test/mjsunit/debug-references.js
index 763e354fc801597ad0b24a589bb4400c77c59555..f8e8be0ee0b79262db1ac185316274d20a65d17b 100644
--- a/test/mjsunit/debug-references.js
+++ b/test/mjsunit/debug-references.js
@@ -27,13 +27,13 @@
// Flags: --expose-debug-as debug
// Get the Debug object exposed from the debug context global object.
-Debug = debug.Debug
+Debug = debug.Debug;
listenerComplete = false;
exception = false;
// The base part of all evaluate requests.
-var base_request = '"seq":0,"type":"request","command":"references"'
+var base_request = '"seq":0,"type":"request","command":"references"';
function safeEval(code) {
try {
@@ -50,7 +50,7 @@ function testRequest(dcp, arguments, success, count) {
if (arguments) {
request = '{' + base_request + ',"arguments":' + arguments + '}';
} else {
- request = '{' + base_request + '}'
+ request = '{' + base_request + '}';
}
// Process the request and check expectation.
@@ -98,9 +98,9 @@ function listener(event, exec_state, event_data, data) {
listenerComplete = true;
}
} catch (e) {
- exception = e
- };
-};
+ exception = e;
+ }
+}
// Add the debug event listener.
Debug.setListener(listener);
@@ -114,5 +114,5 @@ q = new Point(1,2);
debugger;
// Make sure that the debug event listener was invoked.
-assertFalse(exception, "exception in listener")
+assertFalse(exception, "exception in listener");
assertTrue(listenerComplete, "listener did not run to completion");
« no previous file with comments | « test/mjsunit/debug-referenced-by.js ('k') | test/mjsunit/debug-return-value.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698