Closed Bug 1614295 Opened 6 years ago Closed 6 years ago

Notify GeckoView embedder apps of new temporary extensions installed through the Remote Debugging Server

Categories

(GeckoView :: Extensions, enhancement, P1)

Unspecified
All
enhancement

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: rpl, Assigned: agi)

References

Details

(Whiteboard: [geckoview:m75])

Attachments

(1 file)

When an extension is installed temporarily into a GeckoView-based application (e.g. Fenix) through the RemoteDebugging Server (e.g. by web-ext run, a vscode webextensions plugin or from about:debugging), the embedder app isn't currently being notified of the newly installed extension, and so it doesn't receive the GeckoView representation of the installed extension and some parts of the extension UI, like pageAction/browserAction and options pages, would not be created.

See mozilla/web-ext/pull/1834 for the initial Fenix support in web-ext run (which is also an easy way to reproduce this issue)

This patch adds a onExtensionListUpdated method to DebuggerDelegate which
is called whenever devtools install a new extension.

This method provides an opportunity for apps to refresh the list of installed
extensions and sets appropriate delegates so that the new extension is
correctly recognized.

Assignee: nobody → agi
Priority: -- → P1
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e59914273e5b Provide a way for apps to know when an extension is installed. r=snorp,ochameau,esawin
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Regressions: 1617279
Whiteboard: [geckoview:m75]

== Change summary for alert #25025 (as of Thu, 20 Feb 2020 19:55:45 GMT) ==

Improvements:

29% build times android-5-0-x86_64 opt gcp taskcluster-projects/970387039909/machineTypes/custom-32-73728 1,249.12 -> 890.05

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=25025

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

Attachment

General

Created:
Updated:
Size: