Bug 299519
| Summary: | Web Inspector: Rename WI.DOMTreeElement.prototype._elementCloseTag | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Razvan Caliman <rcaliman> |
| Component: | Web Inspector | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/161318308>
Razvan Caliman
Pull request: https://github.com/WebKit/WebKit/pull/51311
EWS
Committed 300703@main (cf37c23ad69c): <https://commits.webkit.org/300703@main>
Reviewed commits have been landed. Closing PR #51311 and removing active labels.