Index: test/mjsunit/es6/debug-promises/reentry.js |
diff --git a/test/mjsunit/es6/debug-promises/reentry.js b/test/mjsunit/es6/debug-promises/reentry.js |
index a97ce81012c486de39550d7d3f1152651cfd2a5d..cc98ed9efd1351816dd2715a6f9cde2029960c0c 100644 |
--- a/test/mjsunit/es6/debug-promises/reentry.js |
+++ b/test/mjsunit/es6/debug-promises/reentry.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 --promise-extra |
+// Flags: --expose-debug-as debug |
// Test reentry of special try catch for Promises. |
@@ -12,6 +12,6 @@ Debug.setBreakOnUncaughtException(); |
Debug.setListener(function(event, exec_state, event_data, data) { }); |
var p = new Promise(function(resolve, reject) { resolve(); }); |
-var q = p.chain(function() { |
+var q = p.then(function() { |
new Promise(function(resolve, reject) { resolve(); }); |
}); |