Bug 299519

Summary: Web Inspector: Rename WI.DOMTreeElement.prototype._elementCloseTag
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

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.