Closed Bug 2089806 Opened 26 days ago Closed 10 days ago

[wpt-sync] Sync PR 64802 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=329980

Categories

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

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Luke Warlow <lwarlow@igalia.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=329980

WebKit export from bug: Removing the first of two forms that share a form attribute's ID fires formAssociatedCallback twice

Removing the first of two forms that share a form attribute's ID fires formAssociatedCallback twice

HTMLFormElement::removingSteps called formOwnerRemovedFromTree() on its associated elements, before calling HTMLElement::removingSteps. This could result in a form-associated custom element firing formAssociatedCallback(null) before firing it with the actual form owner.

This patch fixes that by calling HTMLElement::removingSteps() earlier in the process.

WebKit-Bug: https://bugs.webkit.org/show_bug.cgi?id=329980
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 25 tests and 2 subtests

Status Summary

Firefox

OK : 1[GitHub] 20[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 3[GitHub] 118[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 120[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 2
ERROR: 3

Chrome

OK : 1
PASS : 3

Safari

OK : 1
PASS : 1
FAIL : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.