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

Unified Diff: test/mjsunit/regress/regress-1523.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/regress/regress-1521.js ('k') | test/mjsunit/regress/regress-1586.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-1523.js
diff --git a/test/mjsunit/regress/regress-1523.js b/test/mjsunit/regress/regress-1523.js
index 30b3d59eec8e55211deae5f6c3614458be36b265..23efc5a97b9209092ba8b3c3a9b64dce69eb9ef7 100644
--- a/test/mjsunit/regress/regress-1523.js
+++ b/test/mjsunit/regress/regress-1523.js
@@ -30,27 +30,29 @@
// Flags: --expose-debug-as debug
// Get the Debug object exposed from the debug context global object.
-Debug = debug.Debug
+Debug = debug.Debug;
var listenerCalled = false;
var result = -1;
function listener(event, exec_state, event_data, data) {
listenerCalled = true;
-};
+}
// Add the debug event listener.
Debug.setListener(listener);
function test_and(x) {
- if (x && (bar === this.baz))
+ if (x && (bar === this.baz)) {
return 0;
+ }
return 1;
}
function test_or(x) {
- if (x || (bar === this.baz))
+ if (x || (bar === this.baz)) {
return 0;
+ }
return 1;
}
« no previous file with comments | « test/mjsunit/regress/regress-1521.js ('k') | test/mjsunit/regress/regress-1586.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698