Closed Bug 1959525 Opened 21 days ago Closed 6 days ago

[wpt-sync] Sync PR 51920 - Fix #11182: Add tests to ensure "locked for focus" is not implemented

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Sean Feng <sefeng@mozilla.com> wrote:

Fix #11182: Add tests to ensure "locked for focus" is not implemented

focus-double-sync-calls.html ensures that when element.focus() is called, locked for focus isn't implemented.

nested-focus-within-iframe-focus-event.html ensures that allow focus steps doesn't use locked for focus.

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS : 1
TIMEOUT: 2

Chrome

TIMEOUT: 4

Safari

OK : 2
PASS : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /focus/nested-focus-within-iframe-focus-event.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: OK)
    • dialog.focus() in navigable's focus handler: TIMEOUT (Chrome: TIMEOUT, Safari: PASS)

Tests Disabled in Gecko Infrastructure

  • /focus/nested-focus-within-iframe-focus-event.html [wpt.fyi]: SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: OK)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bac7355a446a [wpt PR 51920] - Fix whatwg/html#11182: Add tests to ensure "locked for focus" is not implemented, a=testonly https://hg.mozilla.org/integration/autoland/rev/93b28e2515c5 [wpt PR 51920] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
You need to log in before you can comment on or make changes to this bug.