RESOLVED FIXED299519
Web Inspector: Rename WI.DOMTreeElement.prototype._elementCloseTag
https://bugs.webkit.org/show_bug.cgi?id=299519
Summary Web Inspector: Rename WI.DOMTreeElement.prototype._elementCloseTag
Razvan Caliman
Reported 2025-09-25 04:24:28 PDT
While investigating Bug 299445, the naming of `_elementCloseTag` proved confusing at times. It's supposed to be a boolean indicating whether the `WI.DOMTreeElement` represents the closing tag of a DOM element. There's another member in this object that's similarly named, `_closeTagTreeElement`, which references the actual element of the close tag. This made reading through the code slightly confusing at time.s This is a clean-up to rename `_elementCloseTag` and make its use uniform across the call sites.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-09-25 04:24:45 PDT
Razvan Caliman
Comment 2 2025-09-25 04:44:08 PDT
EWS
Comment 3 2025-09-29 10:45:15 PDT
Committed 300703@main (cf37c23ad69c): <https://commits.webkit.org/300703@main> Reviewed commits have been landed. Closing PR #51311 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.