Closed Bug 1599842 Opened 5 years ago Closed 4 years ago

Suggest a search engine to use through the QueryContext

Categories

(Firefox :: Address Bar, task, P3)

task
Points:
3

Tracking

()

RESOLVED FIXED
Firefox 73
Tracking Status
firefox73 --- fixed

People

(Reporter: mak, Assigned: mak)

References

Details

Attachments

(1 file)

I'd like to add an engine property to the queryContext to suggest which engine to use when generating results.

There may be follow-up work needed to ensure also the frontend uses the specified engine, when for example we don't wait for the first result and pass the search string directly to the docshell... The docshell always uses the current engine and may not be trivial to change that. Though, if we are in search mode with Engine X, we could just always handle a search directly, because we don't need to distinguish url-looking things. We'll basically generate a search url and visit that, avoiding the docshell completely.

Priority: P2 → P3
Points: --- → 3
Assignee: nobody → mak
Status: NEW → ASSIGNED

This is the last part needed to be able to restrict results without an explicit
typed token (either restriction or alias). Note this is all preparatory work,
there isn't a design for a feature using this yet, but we know at a certain
point we want a more usable representation of aliases and restriction tokens
and eventually a mode picker UI (search button).

Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/55a088881ca6
Restrict to a specific search engine from the QueryContext. r=adw
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: