Only request info about the current engine to the parent

NEW
Unassigned

Status

()

enhancement
P2
normal
4 months ago
3 months ago

People

(Reporter: Felipe, Unassigned)

Tracking

(Blocks 1 bug)

unspecified
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox66 wontfix, firefox67 wontfix)

Details

(Whiteboard: [fxperf:p2])

When the handoff-to-awesomebar feature is enabled, about:home doesn't need to get the data about all search engines, only the default one.

ContentSearch/ContentSearchChild doesn't have an API for that at moment, only getState which gets information about all engines, serializes it to send to the child, only to be unused. So we need to add a new getCurrentEngine API (or add a paramenter to getState), and make Activity Stream inform the ContentSearchUIController to see if the handoff is enabled.

(B) Even with the handoff disabled, it would be nice if initially it only got info about the current engine, and later it requested the info about all engines whenever it needs to build the search one-off buttons UI.

Spending time on (B) would depend on how likely the handoff is to become the official UI or if the previous UI will remain around for longer

Severity: normal → enhancement
Iteration: --- → 68.1 - Mar 18 - 31
Priority: -- → P2
Whiteboard: [fxperf] → [fxperf:p2]
Iteration: 68.1 - Mar 18 - 31 → ---
You need to log in before you can comment on or make changes to this bug.