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

Unified Diff: test/mjsunit/debug-evaluate-arguments.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.js ('k') | test/mjsunit/debug-evaluate-bool-constructor.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-evaluate-arguments.js
diff --git a/test/mjsunit/debug-evaluate-arguments.js b/test/mjsunit/debug-evaluate-arguments.js
index 92b745f1da0926bd3dba7e5a3cca11f87593798c..a0e4a897bfa05e344d1f94a41ee69125c3d1449c 100644
--- a/test/mjsunit/debug-evaluate-arguments.js
+++ b/test/mjsunit/debug-evaluate-arguments.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;
@@ -52,8 +52,7 @@ function checkArguments(frame, names, values) {
function listener(event, exec_state, event_data, data) {
try {
- if (event == Debug.DebugEvent.Break)
- {
+ if (event == Debug.DebugEvent.Break) {
// Frame 0 - called with less parameters than arguments.
checkArguments(exec_state.frame(0), ['x', 'y'], [1]);
@@ -67,27 +66,27 @@ 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 h(x, y) {
debugger; // Breakpoint.
-};
+}
function g(x, y) {
h(x);
-};
+}
function f(x, y, z) {
g.apply(null, [x, y, z]);
-};
+}
f(1, 2, 3);
// Make sure that the debug event listener vas invoked.
assertTrue(listenerComplete);
-assertFalse(exception, "exception in listener")
+assertFalse(exception, "exception in listener");
« no previous file with comments | « test/mjsunit/debug-evaluate.js ('k') | test/mjsunit/debug-evaluate-bool-constructor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698