Allow embedders to load WebExtensions in GV
Categories
(GeckoView :: Extensions, enhancement, P1)
Tracking
(geckoview64 wontfix, geckoview65 wontfix, firefox-esr60 wontfix, firefox64 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 fixed)
People
(Reporter: agi, Assigned: agi)
References
Details
(Whiteboard: [geckoview:fenix:m2])
Attachments
(1 file, 1 obsolete file)
We have many requests for letting embedders to be able to load WebExtensions into GeckoView (e.g. content scripts).
This is about a very simple support for WebExtensions. Support for enabling/disabling and any UI elements will follow in other bugs.
Comment 1•6 years ago
|
||
You mentioned that in your prototype you were able to WebExtensions from the APK. Will it be possible to load them from the filesystem too in this iteration?
Assignee | ||
Comment 2•6 years ago
|
||
You will be able to load web extensions from either:
- A folder in the apk
- A .xpi in the file system (anywhere where the app has read permissions)
would that be enough?
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Perfect. Thank you. :)
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Comment on attachment 9037413 [details]
Bug 1522137 - Make resource://android return a nsIJARURI. r=mayhemer!
Revision D16913 was moved to bug 1522137. Setting attachment 9037413 [details] to obsolete.
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Adding [geckoview:fenix:m2] whiteboard tag because the Fenix team says they would like to start using WebExtensions for ad blocking and reader mode in their Fenix M2 or M3 milestones.
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 8•6 years ago
|
||
Comment 10•6 years ago
|
||
Backed out for failing eslint at GeckoViewWebExtension.jsm
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=230335107&repo=autoland&lineNumber=283
Backout: https://hg.mozilla.org/integration/autoland/rev/fffdf329fefd39b354500181a85b65eb62154438
Assignee | ||
Comment 11•6 years ago
|
||
Of course the one line change I don't send to try breaks the lint. Will fix shortly. Thank you.
Updated•6 years ago
|
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
bugherder |
Comment 14•6 years ago
|
||
[geckoview:fenix:m2] not [geckoview:fenix:p1]
Comment 15•2 years ago
|
||
Moving some WebExtension bugs to the GeckoView::Extensions component.
Description
•