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

Unified Diff: test/mjsunit/debug-setexceptionbreak.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-setbreakpoint.js ('k') | test/mjsunit/debug-sourceinfo.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-setexceptionbreak.js
diff --git a/test/mjsunit/debug-setexceptionbreak.js b/test/mjsunit/debug-setexceptionbreak.js
index 3dc27dd5c72752bb4b61fbf17e3879f6b84e77d3..784858c952d25976fbec7e94f4433e7ed468bd79 100644
--- a/test/mjsunit/debug-setexceptionbreak.js
+++ b/test/mjsunit/debug-setexceptionbreak.js
@@ -27,7 +27,7 @@
// Flags: --expose-debug-as debug
// Get the Debug object exposed from the debug context global object.
-Debug = debug.Debug
+Debug = debug.Debug;
// Note: the following tests only checks the debugger handling of the
// setexceptionbreak command. It does not test whether the debugger
@@ -39,7 +39,7 @@ listenerComplete = false;
exception = false;
var breakpoint = -1;
-var base_request = '"seq":0,"type":"request","command":"setexceptionbreak"'
+var base_request = '"seq":0,"type":"request","command":"setexceptionbreak"';
function safeEval(code) {
try {
@@ -51,7 +51,7 @@ function safeEval(code) {
}
function testArguments(dcp, arguments, success, type, enabled) {
- var request = '{' + base_request + ',"arguments":' + arguments + '}'
+ var request = '{' + base_request + ',"arguments":' + arguments + '}';
var json_response = dcp.processDebugJSONRequest(request);
var response = safeEval(json_response);
if (success) {
@@ -70,7 +70,7 @@ function listener(event, exec_state, event_data, data) {
var dcp = exec_state.debugCommandProcessor("unspecified_running_state");
// Test some illegal setexceptionbreak requests.
- var request = '{' + base_request + '}'
+ var request = '{' + base_request + '}';
var response = safeEval(dcp.processDebugJSONRequest(request));
assertFalse(response.success);
@@ -100,14 +100,14 @@ function listener(event, exec_state, event_data, data) {
}
} catch (e) {
- exception = e
- };
-};
+ exception = e;
+ }
+}
// Add the debug event listener.
Debug.setListener(listener);
-function g() {};
+function g() {}
// Set a break point and call to invoke the debug event listener.
@@ -115,5 +115,5 @@ breakpoint = Debug.setBreakPoint(g, 0, 0);
g();
// Make sure that the debug event listener vas 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-setbreakpoint.js ('k') | test/mjsunit/debug-sourceinfo.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698