| Index: test/mjsunit/es6/debug-promises/reject-after-resolve.js
|
| diff --git a/test/mjsunit/es6/debug-promises/reject-after-resolve.js b/test/mjsunit/es6/debug-promises/reject-after-resolve.js
|
| index ed4b2c435e226b95ade3cfce05b1a8a914e06653..5ec2da50e9b3f40f6741097f6c468aa368c499e0 100644
|
| --- a/test/mjsunit/es6/debug-promises/reject-after-resolve.js
|
| +++ b/test/mjsunit/es6/debug-promises/reject-after-resolve.js
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --expose-debug-as debug --allow-natives-syntax --promise-extra
|
| +// Flags: --expose-debug-as debug --allow-natives-syntax
|
|
|
| // Test debug events when we listen to uncaught exceptions and
|
| // the Promise is rejected in a chained closure after it has been resolved.
|
| @@ -17,7 +17,7 @@ var p = new Promise(function(resolve, reject) {
|
| resolve(reject);
|
| });
|
|
|
| -var q = p.chain(
|
| +var q = p.then(
|
| function(value) {
|
| assertEquals(["resolve", "end main"], log);
|
| value(new Error("reject"));
|
|
|