v8/test/debugger/debug/es6/debug-promises
tzik 07011cc4f0 Replace %RunMicrotasks with %PerformMicrotaskCheckpoint
This replaces Runtime_RunMicrotasks with Runtime_PerformMicrotaskCheckpoint.

RunMicrotasks forcibly runs Microtasks even when the microtasks are suppressed,
and may causes nested Microtasks in a problematic way. E.g. that confuses
v8::MicrotasksScope::IsRunningMicrotasks() and GetEnteredOrMicrotaskContext().

OTOH, PerformMicrotaskCheckpoint() doesn't run cause the failure as it
respects the microtask suppressions.

As all existing tests don't call RunMicrotasks() in the suppressed situation
(like Promise.resolve().then(()=>{%RunMicrotasks();})), this change should
not affect to these tests.

Change-Id: Ib043a0cc8e482e022d375084d65ea98a6f54ef3d
Reviewed-on: https://chromium-review.googlesource.com/c/1360095
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58068}
2018-12-06 11:10:18 +00:00
..
evaluate-across-microtasks.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
promise-all-caught.js [debugger] Basic scope functionality and exception events in wrapper 2016-11-08 14:54:10 +00:00
promise-all-uncaught.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
promise-race-caught.js [debugger] Basic scope functionality and exception events in wrapper 2016-11-08 14:54:10 +00:00
promise-race-uncaught.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
proxy-as-promise.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
reentry.js [debugger] Basic scope functionality and exception events in wrapper 2016-11-08 14:54:10 +00:00
reject-after-resolve.js [debugger] Stepping and break-related functions in wrapper 2016-11-08 13:54:37 +00:00
reject-caught-all.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
reject-caught-by-default-reject-handler.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
reject-caught-late.js [debugger] Basic scope functionality and exception events in wrapper 2016-11-08 14:54:10 +00:00
reject-caught-uncaught.js [debugger] Basic scope functionality and exception events in wrapper 2016-11-08 14:54:10 +00:00
reject-in-constructor-opt.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
reject-in-constructor.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
reject-uncaught-all.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
reject-uncaught-late.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
reject-uncaught-uncaught.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
reject-with-invalid-reject.js [debug-wrapper] Adapt tests, breakpoint.actual_location 2016-11-21 09:29:17 +00:00
reject-with-throw-in-reject.js [debug-wrapper] Adapt tests, breakpoint.actual_location 2016-11-21 09:29:17 +00:00
reject-with-undefined-reject.js [debug-wrapper] Adapt tests, breakpoint.actual_location 2016-11-21 09:29:17 +00:00
stepin-constructor.js [debugger] Migrate more debugger tests to inspector 2016-11-08 10:39:08 +00:00
stepin-handler.js [inspector] improve return position of explicit return in non-async function 2017-07-14 19:10:13 +00:00
throw-caught-all.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
throw-caught-by-default-reject-handler.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
throw-caught-late.js [debugger] Basic scope functionality and exception events in wrapper 2016-11-08 14:54:10 +00:00
throw-caught-uncaught.js [debugger] Basic scope functionality and exception events in wrapper 2016-11-08 14:54:10 +00:00
throw-eventually-caught.js [debugger] Basic scope functionality and exception events in wrapper 2016-11-08 14:54:10 +00:00
throw-finally-caught-all.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
throw-in-constructor.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
throw-uncaught-all.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
throw-uncaught-uncaught.js [debug-wrapper] AsyncTaskEvent event type 2016-11-28 09:31:50 +00:00
throw-with-throw-in-reject.js [promisehook] Check for JSReceiver in runtime function 2018-02-08 17:28:54 +00:00
try-reject-in-constructor.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00
try-throw-reject-in-constructor.js [debug-wrapper] Further extend the debug wrapper 2016-11-16 08:34:44 +00:00