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 1749353004: Ship ES2015 Function.name reform (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 years, 10 months 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-backtrace.js ('k') | test/mjsunit/es6/classes.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 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);
}
« no previous file with comments | « test/mjsunit/debug-backtrace.js ('k') | test/mjsunit/es6/classes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698