Closed
Bug 1980575
Opened 1 year ago
Closed 1 year ago
Remove highlighters markup util ClassList
Categories
(DevTools :: General, task)
DevTools
General
Tracking
(firefox143 fixed)
RESOLVED
FIXED
143 Branch
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
ClassList was defined when we couldn't have access to the anonymous content elements and the API would only allow to set attributes. So this was a way of managing the class attribute for those elements: https://searchfox.org/mozilla-central/rev/6e2b186c296474e032d9ae2e000b7c870396775c/devtools/server/actors/highlighters/utils/markup.js#56-109
There is no need for this anymore, we can directly expose the element classList
| Assignee | ||
Comment 1•1 year ago
|
||
Instead, return the raw element classList from getElement so consumer can
manipulate the classList as they want.
Updated•1 year ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/311065fec11a
https://hg.mozilla.org/integration/autoland/rev/89502ada86ed
[devtools] Remove highlighters markup util ClassList. r=devtools-reviewers,jdescottes.
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox143:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Updated•1 year ago
|
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in
before you can comment on or make changes to this bug.
Description
•