Closed Bug 2073447 Opened 2 months ago Closed 1 month ago

Mozilla internal widgets manifest properties, permission and API namespace

Categories

(Firefox :: Widgets, task)

task
Points:
3

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: rpl, Assigned: fchasen)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt][hnt-wattle])

Attachments

(2 external files)

This bugzilla issue is tracking introducing a new manifest property, API namespace for mozilla developed widgets (initially with minimal set of manifest property and placeholder API method, which are meant to be expanded in separate followup, e.g. to hook it up an internal widget registry and introduce API methods in support of that).

This patch introduces:

  • a new privileged mozilla_widgets manifest property, gated on the extension being privileged (privileged/system signature, built-in, or temporarily installed on a build where experiments are enabled)
  • a new privileged mozillaWidgets API namespace, gated on the presence of the mozilla_widgets manifest property through the "manifest:mozilla_widgets" pseudo-permission
Attachment #9644566 - Attachment description: WIP: Bug 2073447 - Mozilla internal widgets manifest properties, permission and API namespace. → WIP: Bug 2073447 - Mozilla internal widgets manifest property and API namespace.
  • Adds a widget manifest property with the widget's page and sizes.
  • Registers the widget with WidgetManager once the extension is ready and unregisters it on shutdown.
  • Only extensions with the mozillaAddons permission can register a widget.
  • Adds an empty widget API namespace for extensions with the mozillaAddons permission.
Assignee: nobody → fchasen
Status: NEW → ASSIGNED
Points: --- → 5
Points: 5 → 3
Whiteboard: [hnt][hnt-wattle]
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [qa-triage-done-c161/b160]
See Also: → 2091069
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: