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

Unified Diff: test/mjsunit/debug-stepin-accessor.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-step-stub-callfunction.js ('k') | test/mjsunit/debug-stepin-builtin.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-stepin-accessor.js
diff --git a/test/mjsunit/debug-stepin-accessor.js b/test/mjsunit/debug-stepin-accessor.js
index 2c9c8c324f9125b3a386aa0f5efbc62e1892a1fa..df266e3b5290ba820026a0f64d3735f04996d262 100644
--- a/test/mjsunit/debug-stepin-accessor.js
+++ b/test/mjsunit/debug-stepin-accessor.js
@@ -28,7 +28,7 @@
// Flags: --expose-debug-as debug
// Get the Debug object exposed from the debug context global object.
-Debug = debug.Debug
+Debug = debug.Debug;
var exception = null;
var state = 1;
@@ -54,7 +54,7 @@ function listener(event, exec_state, event_data, data) {
} catch(e) {
exception = e;
}
-};
+}
// Add the debug event listener.
Debug.setListener(listener);
@@ -128,7 +128,7 @@ function testGetter1_4() {
function testGetter1_5() {
expected_function_name = 'getter1';
expected_source_line_text = ' return this.name; // getter 1';
- for (var i = 2; i != 1; i--);
+ for (var i = 2; i != 1; i--) { }
debugger;
var x = d.c['getter' + i];
}
@@ -136,7 +136,7 @@ function testGetter1_5() {
function testGetter2_1() {
expected_function_name = 'getter2';
expected_source_line_text = ' return { // getter 2';
- for (var i = 2; i != 1; i--);
+ for (var i = 2; i != 1; i--) { }
debugger;
var t = d.c.getter2.name;
}
@@ -166,7 +166,7 @@ function testSetterY_1() {
function testIndexedSetter3_1() {
expected_function_name = 'setter3';
expected_source_line_text = ' this.name = n; // setter 3';
- var i = 3
+ var i = 3;
debugger;
d.c[3] = 'www';
}
@@ -188,7 +188,7 @@ function testSetter1_2() {
function testSetter1_3() {
expected_function_name = 'setter1';
expected_source_line_text = ' this.name = n; // setter 1';
- for (var i = 2; i != 1; i--);
+ for (var i = 2; i != 1; i--) { }
debugger;
d.c['setter' + i] = i;
}
@@ -229,7 +229,7 @@ function testProtoIndexedSetter3_1() {
function testProtoSetter1_2() {
expected_function_name = 'setter1';
expected_source_line_text = ' this.name = n; // setter 1';
- for (var i = 2; i != 1; i--);
+ for (var i = 2; i != 1; i--) { }
debugger;
e['setter' + i] = 'aa';
}
« no previous file with comments | « test/mjsunit/debug-step-stub-callfunction.js ('k') | test/mjsunit/debug-stepin-builtin.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698