| Index: test/mjsunit/es6/iteration-semantics.js
|
| diff --git a/test/mjsunit/es6/iteration-semantics.js b/test/mjsunit/es6/iteration-semantics.js
|
| index f29e6e011b5a71deaf00b148dbcd5a53c3f5e426..43075a4033f9dc2d9f7691437328a39b52d6dcd8 100644
|
| --- a/test/mjsunit/es6/iteration-semantics.js
|
| +++ b/test/mjsunit/es6/iteration-semantics.js
|
| @@ -309,7 +309,7 @@ assertEquals(5,
|
|
|
| // Proxy results, with getters.
|
| function transparent_proxy(x) {
|
| - return Proxy.create({
|
| + return new Proxy({}, {
|
| get: function(receiver, name) { return x[name]; }
|
| });
|
| }
|
| @@ -324,7 +324,7 @@ assertEquals([1, 2],
|
| // Proxy iterators.
|
| function poison_proxy_after(iterable, n) {
|
| var iterator = iterable[Symbol.iterator]();
|
| - return wrap_iterator(Proxy.create({
|
| + return wrap_iterator(new Proxy({}, {
|
| get: function(receiver, name) {
|
| if (name == 'next' && n-- < 0) throw "unreachable";
|
| return iterator[name];
|
|
|