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

Unified Diff: test/mjsunit/debug-scripts-request.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-script-breakpoints.js ('k') | test/mjsunit/debug-setbreakpoint.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-scripts-request.js
diff --git a/test/mjsunit/debug-scripts-request.js b/test/mjsunit/debug-scripts-request.js
index faa732e1419a9fdd662f85c4f6da4e31b34d6c81..55a7358e7a7fb298b56484960d36a3befb3270db 100644
--- a/test/mjsunit/debug-scripts-request.js
+++ b/test/mjsunit/debug-scripts-request.js
@@ -27,14 +27,14 @@
// Flags: --expose-debug-as debug
// Get the Debug object exposed from the debug context global object.
-Debug = debug.Debug
+Debug = debug.Debug;
// State to check that the listener code was invoked and that no exceptions
// occoured.
listenerComplete = false;
exception = false;
-var base_request = '"seq":0,"type":"request","command":"scripts"'
+var base_request = '"seq":0,"type":"request","command":"scripts"';
function safeEval(code) {
try {
@@ -46,7 +46,7 @@ function safeEval(code) {
}
function testArguments(dcp, arguments, success) {
- 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) {
@@ -74,7 +74,7 @@ function listener(event, exec_state, event_data, data) {
testArguments(dcp, '{"types":255}', true);
// Test request for all scripts.
- var request = '{' + base_request + '}'
+ var request = '{' + base_request + '}';
var response = safeEval(dcp.processDebugJSONRequest(request));
assertTrue(response.success);
@@ -92,9 +92,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);
@@ -105,4 +105,4 @@ debugger;
// Make sure that the debug event listener vas invoked with no exceptions.
assertTrue(listenerComplete,
"listener did not run to completion, exception: " + exception);
-assertFalse(exception, "exception in listener")
+assertFalse(exception, "exception in listener");
« no previous file with comments | « test/mjsunit/debug-script-breakpoints.js ('k') | test/mjsunit/debug-setbreakpoint.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698