Open Bug 1486799 Opened 7 years ago Updated 3 years ago

Refactor highlighters to use fronts methods for show/hide/destroy

Categories

(DevTools :: Inspector, enhancement, P4)

enhancement

Tracking

(Not tracked)

People

(Reporter: yulia, Unassigned)

References

Details

in https://bugzilla.mozilla.org/show_bug.cgi?id=1447490 we introduced memoization directly on the inspector front for the highlighters. This makes more sense than the local memoization we have been doing throughout the codebase: https://searchfox.org/mozilla-central/search?q=getHighlighterByType(&case=false&regexp=false&path= And we may be able to drop this function: https://searchfox.org/mozilla-central/source/devtools/client/inspector/shared/highlighters-overlay.js#603-632 It may be that highlighterOverlay was taking over a lot of tasks that should have gone to fronts.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.