Open Bug 1410983 Opened 6 years ago Updated 2 months ago

Support chrome_settings_overrides.search_provider in Webextensions manifest (Android)

Categories

(GeckoView :: Extensions, defect, P3)

All
Android

Tracking

(Not tracked)

People

(Reporter: 0the0judge0, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171019140425

Steps to reproduce:

There is no support for webextensions to change the default (or add a new) search engine using the manifest API.

"chrome_settings_overrides": {
    "search_provider": {
     "name": "DefaultSearch,
     "search_url": "https://www.google.com/search?q={searchTerms}",
     "is_default": true
    }

References:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Differences_between_desktop_and_Android#Other_UI_related_API_and_manifest.json_key_differences
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/chrome_settings_overrides#Browser_compatibility
Summary: Support chrome_settings_overrides.search_provider in Webextensions manifest → Support chrome_settings_overrides.search_provider in Webextensions manifest (Android)
ni the expert for this:)
Component: General → Add-on Manager
Flags: needinfo?(amckay)
Component: Add-on Manager → WebExtensions: Android
Flags: needinfo?(amckay)
Priority: -- → P3
Product: Firefox for Android → Toolkit
Version: Firefox 57 → unspecified
Attached image Bug 1410983.gif
I can confirm that this feature is not yet implemented on android, it is only on desktop. 

As you can see, it is registered only at browser level https://searchfox.org/mozilla-central/source/browser/components/extensions/schemas/chrome_settings_overrides.json  

The extension used for testing was: https://addons.allizom.org/en-US/firefox/addon/youtubesearch/ 

Please see the attached video.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Android
Hardware: Unspecified → All
Product: Toolkit → WebExtensions
Severity: normal → --
Component: Android → Extensions
Priority: P3 → --
Product: WebExtensions → GeckoView
Priority: -- → P3
Severity: -- → S3

Since addons for Fenix will be available for release, i think this feature should be taken into consideration.

You need to log in before you can comment on or make changes to this bug.