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

Unified Diff: test/mjsunit/debug-evaluate-with.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-evaluate-recursive.js ('k') | test/mjsunit/debug-evaluate-with-context.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-evaluate-with.js
diff --git a/test/mjsunit/debug-evaluate-with.js b/test/mjsunit/debug-evaluate-with.js
index c19a7074321b312e82278c4adb5ebcb97ff92a7c..d020079e551782c1c1fbd0aec62e15026b02edae 100644
--- a/test/mjsunit/debug-evaluate-with.js
+++ b/test/mjsunit/debug-evaluate-with.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;
listenerComplete = false;
exception = false;
@@ -35,8 +35,7 @@ breakPointCount = 0;
function listener(event, exec_state, event_data, data) {
try {
- if (event == Debug.DebugEvent.Break)
- {
+ if (event == Debug.DebugEvent.Break) {
breakPointCount++;
if (breakPointCount == 1) {
// Break point in first with block.
@@ -52,9 +51,9 @@ function listener(event, exec_state, event_data, data) {
}
}
} catch (e) {
- exception = e
- };
-};
+ exception = e;
+ }
+}
// Add the debug event listener.
Debug.setListener(listener);
@@ -69,7 +68,7 @@ function f() {
debugger; // Breakpoint.
}
}
-};
+}
f();
@@ -78,4 +77,4 @@ eval("with({bar:'with'}) { (function g() { var foo = 'local'; debugger; })(); }"
// Make sure that the debug event listener vas invoked.
assertEquals(3, breakPointCount);
-assertFalse(exception, "exception in listener")
+assertFalse(exception, "exception in listener");
« no previous file with comments | « test/mjsunit/debug-evaluate-recursive.js ('k') | test/mjsunit/debug-evaluate-with-context.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698