07011cc4f0
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} |
||
---|---|---|
.. | ||
debug-promises | ||
regress | ||
debug-blockscopes.js | ||
debug-break-default-constructor.js | ||
debug-evaluate-arrow-function-receiver.js | ||
debug-evaluate-blockscopes.js | ||
debug-evaluate-receiver-before-super.js | ||
debug-exception-generators.js | ||
debug-function-scopes.js | ||
debug-liveedit-new-target-1.js | ||
debug-liveedit-new-target-2.js | ||
debug-liveedit-new-target-3.js | ||
debug-scope-default-param-with-eval.js | ||
debug-step-destructuring-assignment.js | ||
debug-step-destructuring-bind.js | ||
debug-step-into-class-extends.js | ||
debug-step-into-constructor.js | ||
debug-step-into-regexp-subclass.js | ||
debug-stepin-collections-foreach.js | ||
debug-stepin-default-parameters.js | ||
debug-stepin-generators.js | ||
debug-stepin-microtasks.js | ||
debug-stepin-proxies.js | ||
debug-stepin-string-template.js | ||
debug-stepnext-for.js | ||
debug-stepnext-generators.js | ||
default-parameters-debug.js | ||
generators-debug-liveedit.js | ||
generators-debug-scopes.js | ||
generators-relocation.js |