Closed Bug 1940129 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 49929 - Make dialog focus async when removing open attribute

Categories

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

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Make dialog focus async when removing open attribute

When the dialog's open attribute is removed which closes the dialog, we
should make the focus async in order to prevent more script from running
inside attribute removal.

Context: https://github.com/whatwg/html/pull/10124#discussion_r1483640232

Bug: 341935362
Change-Id: I1b76f003e04b802b1868b427a0faddf5f19a3c5e

Reviewed-on: https://chromium-review.googlesource.com/6085725
WPT-Export-Revision: c63d4cf04f5c7529e968dad54cfa502cb305ee9c

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
FAIL: 2

Chrome

OK : 1
FAIL: 2

Safari

OK : 1
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/17e5e580ddfe [wpt PR 49929] - Make dialog focus async when removing open attribute, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.