Closed Bug 1783063 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 35326 - Add a test of dialog autofocus

Categories

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

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 2 open bugs, )

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Add a test of dialog autofocus

This is a simple test of autofocus in the presence of \<dialog>,
as specified at [1]. It verifies that page-level autofocus still
works when there is a \<dialog> containing an autofocus element,
and also verifies that the \<dialog> autofocuses the correct
element when shown.

Change-Id: I5d7d9db9bea46a2c37f80a8548f45045a09d885c
Reviewed-on: https://chromium-review.googlesource.com/3807536
WPT-Export-Revision: 0e8dff72f16edd5cb0dccbae8d867f2675095096

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
PASS: 1
FAIL: 1

Chrome

OK : 1
PASS: 2

Safari

OK : 1
PASS: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5601c15811fe [wpt PR 35326] - Add a test of dialog autofocus, a=testonly https://hg.mozilla.org/integration/autoland/rev/6d2dad3f345c [wpt PR 35326] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.