Closed
Bug 2078934
Opened 1 month ago
Closed 2 days ago
Create a new AddonManager provider for generated widgets
Categories
(Firefox :: Widgets, task, P3)
Firefox
Widgets
Tracking
()
RESOLVED
FIXED
163 Branch
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: fchasen, Assigned: fchasen)
References
(Blocks 1 open bug)
Details
(Whiteboard: [hnt][hnt-wattle])
Attachments
(1 external file)
Need a new manager class to handle loading, starting and stopping generated widgets.
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
Points: --- → 3
| Assignee | ||
Updated•1 month ago
|
Assignee: nobody → fchasen
Status: NEW → ASSIGNED
| Assignee | ||
Updated•1 month ago
|
Points: 3 → 8
| Assignee | ||
Comment 1•1 month ago
|
||
Generated widgets will be small unprivileged extensions that define a builtin_widget and have a limited manifest and permissions.
They are created and installed locally and are managed by a new add-on provider, which keeps them in the profile and exposes them through the AddonManager.
- Adds a
GeneratedWidgetExtension, an Extension subclass that allows generated widgets to define widgets and limits them to an allowlist of manifest keys and permissions. - Registers a
GeneratedWidgetsProvideradd-on provider that installs, updates and uninstalls generated widgets and starts them at startup. extensions.widgets.generated.enabledregisters and unregisters the provider.- Keeps the local widget XPIs and a
widgets.json.mozlz4store of installed widgets in a profile'sgenerated-widgetsdirectory. - Adds
ExtensionData.canUseWidgets()to prevent unprivileged extensions from usingbuiltin_widget, whichGeneratedWidgetExtensionoverrides.
Pushed by mconley@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/549ef37ac69e
https://hg.mozilla.org/integration/autoland/rev/b14ecf87d14c
Add an add-on provider for generated widgets. r=rpl
Comment 3•2 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 days ago
status-firefox163:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•