Allow embedders to load WebExtensions in GV
Categories
(GeckoView :: General, 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•4 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•4 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•4 years ago
|
Comment 3•4 years ago
|
||
Perfect. Thank you. :)
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Updated•3 years ago
|
Comment 6•3 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•3 years ago
|
Comment 7•3 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•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/51467afba450 Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin
Comment 10•3 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•3 years ago
|
||
Of course the one line change I don't send to try breaks the lint. Will fix shortly. Thank you.
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2969ec6e0436 Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin
Comment 13•3 years ago
|
||
bugherder |
Comment 14•3 years ago
|
||
[geckoview:fenix:m2] not [geckoview:fenix:p1]
Description
•