Open Bug 1659437 Opened 6 years ago Updated 6 years ago

[wpt-sync] Sync PR 25035 - [blink] Move microtask checkpoint in module script evaluation

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25035 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25035
Details from upstream follow.

Camillo Bruni <cbruni@chromium.org> wrote:

[blink] Move microtask checkpoint in module script evaluation

Move the erroneously placed Microtask checkpoint
from V8ScriptRunner::EvaluateModule
to ModulatorImplBase::ExecuteModule.

This CL affects the ordering around module script evaluation,
especially between microtasks and Window/WorkerGlobalScope error events.

This CL is a preparation to make the top-level await
implementation simpler and more spec-conformant:
https://crrev.com/c/2228881

Bug: 1022182, 1096455, 1114034, v8:9344
Change-Id: I0f6d510b62310d9342fea30ff8ed6cbe37349cd6
Reviewed-on: https://chromium-review.googlesource.com/2339658
WPT-Export-Revision: b86aeae8d2439918a2294127ef8aab3967747e68

PR 25035 applied with additional changes from upstream: f36b6b40be5c3018c8168d832f4f68d2bb04bfb3
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Test result changes from PR not available.
You need to log in before you can comment on or make changes to this bug.