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

Unified Diff: test/mjsunit/debug-conditional-breakpoints.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-compile-event-newfunction.js ('k') | test/mjsunit/debug-constructed-by.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-conditional-breakpoints.js
diff --git a/test/mjsunit/debug-conditional-breakpoints.js b/test/mjsunit/debug-conditional-breakpoints.js
index 62484373002bbe77965dd4e104f1f82e853b391c..b2c50d5a52e6f7afe4f5571e7f4232ffc891778b 100644
--- a/test/mjsunit/debug-conditional-breakpoints.js
+++ b/test/mjsunit/debug-conditional-breakpoints.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;
// Simple debug event handler which just counts the number of break points hit.
var break_point_hit_count;
@@ -36,16 +36,16 @@ function listener(event, exec_state, event_data, data) {
if (event == Debug.DebugEvent.Break) {
break_point_hit_count++;
}
-};
+}
// Add the debug event listener.
Debug.setListener(listener);
// Test functions.
count = 0;
-function f() {};
-function g() {h(count++)};
-function h(x) {var a=x; return a};
+function f() {}
+function g() {h(count++);}
+function h(x) {var a=x; return a;}
// Conditional breakpoint which syntax error.
« no previous file with comments | « test/mjsunit/debug-compile-event-newfunction.js ('k') | test/mjsunit/debug-constructed-by.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698