Open Bug 1128937 Opened 9 years ago Updated 2 years ago

The keyword-uri-fixup observer added in content.js will cause overhead

Categories

(Core :: DOM: Navigation, defect)

defect

Tracking

()

People

(Reporter: florian, Unassigned)

References

Details

Bug 1048618 added an observer in content.js that will be fired (and cause a jump from C++ to JS code) for each tab, despite the notification being only relevant for one tab.

Another possible solution that involves only one observer is to add the observer in a content JS module.
Probably keyword-uri-fixup just shouldn't be a nsIObserver notification, and instead be a message sent to the specific browser's message manager.
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.