Closed Bug 1518841 Opened 6 years ago Closed 6 years ago

Allow embedders to load WebExtensions in GV

Categories

(GeckoView :: Extensions, enhancement, P1)

All
Android
enhancement

Tracking

(geckoview64 wontfix, geckoview65 wontfix, firefox-esr60 wontfix, firefox64 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
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.

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?

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?

Priority: -- → P1
Whiteboard: [gvtv]

Perfect. Thank you. :)

Whiteboard: [gvtv] → [geckoview:fenix:p1] [gvtv]
Attachment #9037413 - Attachment description: Bug 1518841 - Support android://assets for files inside the APK. r?snorp! → Bug 1522137 - Make resource://android return a nsIJARURI. r=mayhemer!

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.

Attachment #9037413 - Attachment is obsolete: true
Whiteboard: [geckoview:fenix:p1] [gvtv] → [geckoview:fenix:p1]

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.

Whiteboard: [geckoview:fenix:p1] → [geckoview:fenix:p1] [geckoview:fenix:m2]
Blocks: 1509257
Attachment #9035818 - Attachment description: Bug 1518841 - Allow embedders to load WebExtensions in GeckoView. r?snorp,esawin → Bug 1518841 - Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin
Attachment #9035818 - Attachment description: Bug 1518841 - Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin → Bug 1518841 - Allow embedders to load WebExtensions in GeckoView.
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/51467afba450 Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin

Of course the one line change I don't send to try breaks the lint. Will fix shortly. Thank you.

Flags: needinfo?(agi)
Attachment #9035818 - Attachment description: Bug 1518841 - Allow embedders to load WebExtensions in GeckoView. → Bug 1518841 - Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2969ec6e0436 Allow embedders to load WebExtensions in GeckoView. r=snorp,esawin
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Depends on: 1482231

[geckoview:fenix:m2] not [geckoview:fenix:p1]

Whiteboard: [geckoview:fenix:p1] [geckoview:fenix:m2] → [geckoview:fenix:m2]

Moving some WebExtension bugs to the GeckoView::Extensions component.

Component: General → Extensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: