Index: test/mjsunit/es6/regress/regress-cr372788.js |
diff --git a/test/mjsunit/es6/regress/regress-cr372788.js b/test/mjsunit/es6/regress/regress-cr372788.js |
index 3144b39830e5645e4151a7341d7756c9df7e999e..c157a7e79fff2a77ce487a9677df3fa29c1347e5 100644 |
--- a/test/mjsunit/es6/regress/regress-cr372788.js |
+++ b/test/mjsunit/es6/regress/regress-cr372788.js |
@@ -25,7 +25,7 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --allow-natives-syntax --promise-extra |
+// Flags: --allow-natives-syntax |
var x = 0; |
var y = 0; |
@@ -38,7 +38,7 @@ for (var i = 0; i < 3; ++i) { |
assertEquals(0, x); |
(function check() { |
- Promise.resolve().chain(function() { |
+ Promise.resolve().then(function() { |
// Delay check until all handlers have run. |
if (y < 3) check(); else assertEquals(6, x); |
}).catch(function(e) { %AbortJS("FAILURE: " + e) }); |