Closed Bug 1697477 Opened 4 years ago Closed 4 years ago

Expose a property on nsISearchEngine to indicate general web search engines

Categories

(Firefox :: Search, task, P3)

task
Points:
3

Tracking

()

RESOLVED FIXED
89 Branch
Iteration:
89.1 - Mar 22 - Apr 4
Tracking Status
firefox89 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(2 files)

In bug 1695262 we are adding a hard-coded list of general search engines (as opposed to ones for specific things, e.g. shopping), which we might fallback to if the default engine is removed - see the bug for exact details.

In bug 1647889 the address bar added a similar list of hard-coded engines.

From my discussions around bug 1695262, we had decided that at some stage we would like to move the list out to WebExtension metadata, but we weren't ready for it yet as we think we would want more categories than just general but we haven't done enough thinking yet to know what we want there.

I think we should handle moving the lists out to WebExtension metadata in bug 1658661.

For now, I think we should add an isGeneral or maybe isWebEngine property to nsISearchEngine and consolidate the two lists within it.

This would also give us a stepping stone to make it easier when we do add the WebExtension metadata.

Iteration: --- → 89.1 - Mar 22 - Apr 4
Points: --- → 3
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/250b2f89c925 Expose a property on nsISearchEngine to indicate general web search engines. r=daleharvey https://hg.mozilla.org/integration/autoland/rev/1fe2e308300f Use the new nsISearchEngine.isWebEngine property in the urlbar. r=mak
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: