Open
Bug 1932798
Opened 19 days ago
Updated 19 days ago
[wpt-sync] Sync PR 49325 - Enable ShadowRealm testing for ErrorEvent
Categories
(Core :: DOM: Core & HTML, task, P4)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49325 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49325
Details from upstream follow.
Philip Chimento <pchimento@igalia.com> wrote:
Enable ShadowRealm testing for ErrorEvent
Adapt the tests for the onerror event on Worker global scopes to cover ShadowRealm global scopes as well.
One of the tests uses setTimeout() directly to fire the global onerror event. Use queueMicrotask() instead, since that is [Exposed=*]. We cannot use t.step_timeout() because that wraps the callback in a t.step_func() which catches the error and fails the test.
Assignee | ||
Updated•19 days ago
|
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•