Closed Bug 1885051 Opened 11 months ago Closed 11 months ago

[wpt-sync] Sync PR 45069 - Don't run button popover code when default is handled

Categories

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

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Don't run button popover code when default is handled

This patch prevents the popovertarget code in HTMLFormControlElement
from running when the \<button> already handled a DOMActivate event for
type=reset or type=submit.

Fixed: 329118508
Change-Id: Ic1f82cd3b72a7d3a281f5cf884a0c470e87a8ffb

Reviewed-on: https://chromium-review.googlesource.com/5368578
WPT-Export-Revision: df65f2c3930a114ce43424eefebe61b15ded3ae7

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

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/9204b0c03c62 [wpt PR 45069] - Don't run button popover code when default is handled, a=testonly https://hg.mozilla.org/integration/autoland/rev/b92c9aad8907 [wpt PR 45069] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.