Closed
Bug 1865016
Opened 2 years ago
Closed 2 years ago
Switch usage of cssRule.type to ChromeUtils.getClassName(cssRule)
Categories
(DevTools :: Inspector, task)
DevTools
Inspector
Tracking
(firefox122 fixed)
RESOLVED
FIXED
122 Branch
| Tracking | Status | |
|---|---|---|
| firefox122 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
Attachments
(1 file)
The type property is deprecated ¹ and new rules (e.g. @property) don't have a meaningful/identifiable value in it.
We're still using it in our code base in some places, and it would be better to switch to get the actual class name of the rule.
¹ https://developer.mozilla.org/en-US/docs/Web/API/CSSRule/type
| Assignee | ||
Comment 1•2 years ago
|
||
Depends on D193873
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c1522d06d78
[devtools] Avoid using deprecated CSSRule#type. r=devtools-reviewers,ochameau.
Comment 3•2 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox122:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•