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

Unified Diff: test/mjsunit/debug-evaluate.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-enable-disable-breakpoints.js ('k') | test/mjsunit/debug-evaluate-arguments.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-evaluate.js
diff --git a/test/mjsunit/debug-evaluate.js b/test/mjsunit/debug-evaluate.js
index accf656d60979e0c9860369540a1fa320a82f99f..d4715655d23782ac4d07b37becbf243307cfe615 100644
--- a/test/mjsunit/debug-evaluate.js
+++ b/test/mjsunit/debug-evaluate.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":"evaluate"'
+var base_request = '"seq":0,"type":"request","command":"evaluate"';
function safeEval(code) {
try {
@@ -50,7 +50,7 @@ function testRequest(dcp, arguments, success, result) {
if (arguments) {
request = '{' + base_request + ',"arguments":' + arguments + '}';
} else {
- request = '{' + base_request + '}'
+ request = '{' + base_request + '}';
}
var response = safeEval(dcp.processDebugJSONRequest(request));
if (success) {
@@ -122,21 +122,21 @@ function listener(event, exec_state, event_data, data) {
listenerComplete = true;
}
} catch (e) {
- exception = e
- };
-};
+ exception = e;
+ }
+}
// Add the debug event listener.
Debug.setListener(listener);
function f() {
var a = 3;
-};
+}
function g() {
var a = 2;
f();
-};
+}
a = 1;
@@ -150,6 +150,6 @@ for (var i = 0; i < 4; i++) {
Debug.setBreakPoint(f, 2, 0);
g();
-assertFalse(exception, "exception in listener")
+assertFalse(exception, "exception in listener");
// Make sure that the debug event listener vas invoked.
assertTrue(listenerComplete, "listener did not run to completion");
« no previous file with comments | « test/mjsunit/debug-enable-disable-breakpoints.js ('k') | test/mjsunit/debug-evaluate-arguments.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698