Index: test/mjsunit/debug-stepin-accessor.js |
diff --git a/test/mjsunit/debug-stepin-accessor.js b/test/mjsunit/debug-stepin-accessor.js |
index daf86a365287a915acba341c46388330a8f33839..8513ca0eae62cedc2593b5249ba06f47c5163513 100644 |
--- a/test/mjsunit/debug-stepin-accessor.js |
+++ b/test/mjsunit/debug-stepin-accessor.js |
@@ -96,21 +96,21 @@ var d = { |
}; |
function testGetter1_1() { |
- expected_function_name = 'getter1'; |
+ expected_function_name = 'get getter1'; |
expected_source_line_text = ' return this.name; // getter 1'; |
debugger; |
var x = c.getter1; |
} |
function testGetter1_2() { |
- expected_function_name = 'getter1'; |
+ expected_function_name = 'get getter1'; |
expected_source_line_text = ' return this.name; // getter 1'; |
debugger; |
var x = c['getter1']; |
} |
function testGetter1_3() { |
- expected_function_name = 'getter1'; |
+ expected_function_name = 'get getter1'; |
expected_source_line_text = ' return this.name; // getter 1'; |
for (var i = 1; i < 2; i++) { |
debugger; |
@@ -119,14 +119,14 @@ function testGetter1_3() { |
} |
function testGetter1_4() { |
- expected_function_name = 'getter1'; |
+ expected_function_name = 'get getter1'; |
expected_source_line_text = ' return this.name; // getter 1'; |
debugger; |
var x = d.c.getter1; |
} |
function testGetter1_5() { |
- expected_function_name = 'getter1'; |
+ expected_function_name = 'get getter1'; |
expected_source_line_text = ' return this.name; // getter 1'; |
for (var i = 2; i != 1; i--); |
debugger; |
@@ -134,7 +134,7 @@ function testGetter1_5() { |
} |
function testGetter2_1() { |
- expected_function_name = 'getter2'; |
+ expected_function_name = 'get getter2'; |
expected_source_line_text = ' return { // getter 2'; |
for (var i = 2; i != 1; i--); |
debugger; |
@@ -172,21 +172,21 @@ function testIndexedSetter3_1() { |
} |
function testSetter1_1() { |
- expected_function_name = 'setter1'; |
+ expected_function_name = 'set setter1'; |
expected_source_line_text = ' this.name = n; // setter 1'; |
debugger; |
d.c.setter1 = 'aa'; |
} |
function testSetter1_2() { |
- expected_function_name = 'setter1'; |
+ expected_function_name = 'set setter1'; |
expected_source_line_text = ' this.name = n; // setter 1'; |
debugger; |
d.c['setter1'] = 'bb'; |
} |
function testSetter1_3() { |
- expected_function_name = 'setter1'; |
+ expected_function_name = 'set setter1'; |
expected_source_line_text = ' this.name = n; // setter 1'; |
for (var i = 2; i != 1; i--); |
debugger; |
@@ -199,14 +199,14 @@ var e = { |
e.__proto__ = c; |
function testProtoGetter1_1() { |
- expected_function_name = 'getter1'; |
+ expected_function_name = 'get getter1'; |
expected_source_line_text = ' return this.name; // getter 1'; |
debugger; |
var x = e.getter1; |
} |
function testProtoSetter1_1() { |
- expected_function_name = 'setter1'; |
+ expected_function_name = 'set setter1'; |
expected_source_line_text = ' this.name = n; // setter 1'; |
debugger; |
e.setter1 = 'aa'; |
@@ -227,7 +227,7 @@ function testProtoIndexedSetter3_1() { |
} |
function testProtoSetter1_2() { |
- expected_function_name = 'setter1'; |
+ expected_function_name = 'set setter1'; |
expected_source_line_text = ' this.name = n; // setter 1'; |
for (var i = 2; i != 1; i--); |
debugger; |
@@ -240,7 +240,7 @@ for (var n in this) { |
} |
state = 1; |
this[n](); |
- assertNull(exception); |
+ if (exception) throw exception; |
assertEquals(4, state); |
} |