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

Unified Diff: test/mjsunit/debug-continue.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-constructor.js ('k') | test/mjsunit/debug-enable-disable-breakpoints.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-continue.js
diff --git a/test/mjsunit/debug-continue.js b/test/mjsunit/debug-continue.js
index a501aa925c40ddb41566774dd4c8557ea049b99a..6512117b7357168a3b130db5be606ff9dd126e6c 100644
--- a/test/mjsunit/debug-continue.js
+++ b/test/mjsunit/debug-continue.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;
// Simple function which stores the last debug event.
listenerComplete = false;
exception = false;
-var base_request = '"seq":0,"type":"request","command":"continue"'
+var base_request = '"seq":0,"type":"request","command":"continue"';
function safeEval(code) {
try {
@@ -53,7 +53,7 @@ function testArguments(exec_state, arguments, success) {
if (arguments) {
request = '{' + base_request + ',"arguments":' + arguments + '}';
} else {
- request = '{' + base_request + '}'
+ request = '{' + base_request + '}';
}
var response = safeEval(dcp.processDebugJSONRequest(request));
if (success) {
@@ -90,25 +90,25 @@ 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() {
- a=1
-};
+ a=1;
+}
function g() {
f();
-};
+}
// Set a break point and call to invoke the debug event listener.
Debug.setBreakPoint(g, 0, 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-constructor.js ('k') | test/mjsunit/debug-enable-disable-breakpoints.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698