Closed Bug 1891267 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 45391 - Fix popover-focus-2.html WPT

Categories

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

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Fix popover-focus-2.html WPT

We started failing this WPT after this PR was merged:
https://github.com/web-platform-tests/wpt/pull/43146

The assert we are failing is about which element is focused after
disabling a button, and we are not focusing that disabled button, so I
tweaked the assertion to say that we should not be focusing the button.

I'd be worried that we are diverging from firefox behavior here, but
based on wpt.fyi firefox is already failing the test anyway.

Bug: 325981758
Change-Id: I66d2d86e11546ce4ca11db001b85e5f36d5bccde
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5403252
Auto-Submit: Joey Arhar \<jarhar@chromium.org>
Reviewed-by: Mason Freed \<masonf@chromium.org>
Commit-Queue: Joey Arhar \<jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1286654}

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 4 subtests

Status Summary

Firefox

OK : 1
PASS : 3
FAIL : 1

Chrome

TIMEOUT: 2
NOTRUN : 3

Safari

OK : 1
PASS : 2
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/3bc6b0e01c6e [wpt PR 45391] - Fix popover-focus-2.html WPT, a=testonly https://hg.mozilla.org/integration/autoland/rev/1470b64fc543 [wpt PR 45391] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.