Closed Bug 1348842 Opened 7 years ago Closed 4 years ago

Inefficient keyword-uri-fixup observer: Should use ContentObservers.jsm to avoid having one observer per tab

Categories

(Firefox :: Address Bar, enhancement, P3)

enhancement

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Gijs, Unassigned)

References

(Blocks 1 open bug)

Details

https://dxr.mozilla.org/mozilla-central/rev/1b9293be51637f841275541d8991314ca56561a5/browser/base/content/tab-content.js#606-609

Instead of loading this code in every tab, we should load it once and just dispatch messages for the right docshell using the message manager associated with that docshell.
Priority: -- → P3

I think this actually happened, the observer is now in browser.js and gets a browser argument

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.