Open
Bug 1880414
Opened 1 year ago
Consider removing XPCOMUtils.defineConstant
Categories
(Core :: XPConnect, task)
Core
XPConnect
Tracking
()
NEW
People
(Reporter: gregp, Unassigned)
Details
This was added in bug 1202902.
Usage has been going down for a while:
- 40 lines across 14 files
https://searchfox.org/mozilla-esr45/search?q=symbol:XPCOMUtils%23defineConstant - 14 lines across 5 files
https://searchfox.org/mozilla-central/search?q=symbol:XPCOMUtils%23defineConstant
Seems like the remaining cases could use Object.defineProperty directly
You need to log in
before you can comment on or make changes to this bug.
Description
•