Closed Bug 1479689 Opened 6 years ago Closed 6 years ago

API search get filter webextensions

Categories

(WebExtensions :: General, enhancement, P3)

63 Branch
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: hellosct1, Assigned: mkaply)

References

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Build ID: 20180730221422

Steps to reproduce:

I want to get the list of search engines I checked off 

I chose in the preferences search tab some search engines (picture : 1-select-checked.png)
and I want to get the filtered result (picture : 2-results-checked.png)


Actual results:

I developed an example for the MDN documentation of the search.get() API (file : search-list.7z)
and I get the result (picture : 3-results-full.png)


Expected results:

I would like an additional argument in this API to display the search engines I selected to get this representation (picture : 2-results-checked.png)

Can be an extra argument in this feature or a new feature
Blocks: 1352598
OS: Unspecified → All
Product: Firefox → WebExtensions
Hardware: Unspecified → All
Flags: needinfo?(mozilla)
What an incredibly hidden piece of UI.

I've used Firefox forever and didn't know about that.

I'll see if I can figure out a nice way to incorporate that.
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Flags: needinfo?(mozilla)
@mkaply you might want to verify the long term support of that ui before making any plans. e.g. if we make all search engines webextensions, is that UI necessary at all?
Severity: normal → enhancement
Priority: -- → P3
Bulk move of bugs per https://bugzilla.mozilla.org/show_bug.cgi?id=1483958
Component: Untriaged → General
On thinking about this further, those checkboxes are specifically about whether or not engines appear in one off searches.

As a matter of fact, the preference is called browser.search.hiddenOneOffs.

So this isn't something that needs to be exposed via WebExtensions.

If you don't want a search engine to show up anywhere, you should hide it, not use the checkbox.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: