Closed
Bug 1883832
Opened 2 years ago
Closed 2 years ago
Add param to InspectorUtils::GetCSSRegisteredProperties to prevent calling UpdateStylistIfNeeded
Categories
(DevTools :: Inspector, task)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
UpdateStylistIfNeeded
is visible in profiles when modifying a rule (which calls setStyleSheetText
): https://share.firefox.dev/3IogFsz
As we're already parsing the stylesheet (stylesheets-manager.js), this might not be needed so we can shave a few ms
Assignee | ||
Comment 1•2 years ago
|
||
When not updating the stylesheet information from getRegisteredProperty, when updating a stylesheet from devtools UI, we still see the update of stylesheet information, from another place of the code (refreshObservedRules
), so maybe the update is needed after all.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•