Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cce17a92218c09f32cc69ae382da16ab0efc0f52
https://github.com/WebKit/WebKit/commit/cce17a92218c09f32cc69ae382da16ab0efc0f52
Author: Chris Dumez <[email protected]>
Date: 2026-03-27 (Fri, 27 Mar 2026)
Changed paths:
M Source/WebCore/html/HTMLInputElement.cpp
Log Message:
-----------
Double attributeChanged call for nameAttr in HTMLInputElement
https://bugs.webkit.org/show_bug.cgi?id=310893
Reviewed by Anne van Kesteren.
`HTMLTextFormControlElement::attributeChanged` is called at line 765 for
all attributes, then called again at line 801 specifically in the
`nameAttr` case. The entire base class chain (`HTMLElement::attributeChanged`
-> `StyledElement::attributeChanged` -> `Element::attributeChanged` +
`ValidatedFormListedElement::parseAttribute`) runs twice. None of these
depend on `m_name` having been updated.
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::attributeChanged):
Canonical link: https://commits.webkit.org/310142@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications