v8/test/mjsunit/es8
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
..
regress [builtins] abort FrameFunctionIterator::next if frame summary empty 2017-12-20 00:08:35 +00:00
async-arrow-lexical-arguments.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-arrow-lexical-new.target.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-arrow-lexical-super.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-arrow-lexical-this.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-await-basic.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-await-interleaved.js Reland ^3 "[async] Expose async hooks to d8" 2018-07-04 15:47:16 +00:00
async-await-no-constructor.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-await-resolve-new.js Remove --harmony-async-await runtime flag 2017-01-10 23:27:02 +00:00
async-await-species.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-destructuring.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
async-function-stacktrace.js Remove --harmony-async-await runtime flag 2017-01-10 23:27:02 +00:00
async-function-try-finally.js Replace %RunMicrotasks with %PerformMicrotaskCheckpoint 2018-12-06 11:10:18 +00:00
object-entries.js Fix Object.entries/.values with non-enumerable properties 2018-04-25 13:44:32 +00:00
object-get-own-property-descriptors.js Remove --harmony-* flags for new Object static methods 2016-10-31 22:53:35 +00:00
object-values.js [elements] Rename FAST elements kinds 2017-06-30 13:31:44 +00:00
sloppy-no-duplicate-async.js Remove --harmony-async-await runtime flag 2017-01-10 23:27:02 +00:00