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

Unified Diff: test/mjsunit/debug-suspend.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-stepout-to-builtin.js ('k') | test/mjsunit/debug-version.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-suspend.js
diff --git a/test/mjsunit/debug-suspend.js b/test/mjsunit/debug-suspend.js
index 73a2e8c24b5e54f2402275430b180e2180f4f501..01d0c4bfe643c21a08f39ee3422d4e90f63615b4 100644
--- a/test/mjsunit/debug-suspend.js
+++ b/test/mjsunit/debug-suspend.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;
// Simple function which stores the last debug event.
listenerComplete = false;
exception = false;
-var base_backtrace_request = '"seq":0,"type":"request","command":"backtrace"'
-var base_suspend_request = '"seq":0,"type":"request","command":"suspend"'
+var base_backtrace_request = '"seq":0,"type":"request","command":"backtrace"';
+var base_suspend_request = '"seq":0,"type":"request","command":"suspend"';
function safeEval(code) {
try {
@@ -51,7 +51,7 @@ function testArguments(exec_state) {
assertTrue(dcp.isRunning());
- var backtrace_request = '{' + base_backtrace_request + '}'
+ var backtrace_request = '{' + base_backtrace_request + '}';
var backtrace_response = safeEval(dcp.processDebugJSONRequest(backtrace_request));
assertTrue(backtrace_response.success);
@@ -60,7 +60,7 @@ function testArguments(exec_state) {
assertTrue(dcp.isRunning());
- var suspend_request = '{' + base_suspend_request + '}'
+ var suspend_request = '{' + base_suspend_request + '}';
var suspend_response = safeEval(dcp.processDebugJSONRequest(suspend_request));
assertTrue(suspend_response.success);
@@ -81,9 +81,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);
@@ -91,6 +91,6 @@ Debug.setListener(listener);
// Stop debugger and check that suspend command changes running flag.
debugger;
-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-stepout-to-builtin.js ('k') | test/mjsunit/debug-version.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698