| Index: test/mjsunit/harmony/generators-iteration.js
|
| diff --git a/test/mjsunit/harmony/generators-iteration.js b/test/mjsunit/harmony/generators-iteration.js
|
| index dc210d5b1167521c833365e4a120ed8a6fc45439..7fad97e9445ce1f5b4a85180be3e6b013c2789fa 100644
|
| --- a/test/mjsunit/harmony/generators-iteration.js
|
| +++ b/test/mjsunit/harmony/generators-iteration.js
|
| @@ -346,6 +346,15 @@ TestGenerator(
|
| "foo",
|
| [3, undefined]);
|
|
|
| +// Access to this with formal arguments.
|
| +TestGenerator(
|
| + function () {
|
| + return ({ x: 42, g: function* (a) { yield this.x } }).g(0);
|
| + },
|
| + [42, undefined],
|
| + "foo",
|
| + [42, undefined]);
|
| +
|
| // Test that yield* re-yields received results without re-boxing.
|
| function TestDelegatingYield() {
|
| function results(results) {
|
|
|