Render a widget using moz-widget when its config has a src or extension id set
Categories
(Firefox :: Widgets, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: fchasen, Assigned: fchasen)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [hnt][hnt-wattle])
Attachments
(1 external file)
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Update the WidgetsRegistry to handle getting the src for the various configs, or if there is an extension id set getting it from a list of extension url generated in the PrefsFeed.
The feed should check take an extension id and find the url or return empty if the extension isn't installed. For now I think the url should resolve from a path in the config and not the manifest widget.src property. Partially as that doesn't exist yet and partially as the flexibility might be helpful?
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
Updated•2 months ago
|
| Assignee | ||
Comment 2•2 months ago
|
||
- Adds
srcandextensionIDto the config for widgets. - Widgets with URL in
srcset will render using themoz-widgetcomponent with that src set on the internal iframe. - ExtensionWidgetsFeed listens for extension changes and updates the available widgets.
- Widgets with an extension id will temporarily get the first web accessible resource set as the src URL.
- If the extension url can't be resolved (missing extension / no web accessible resources) the widget won't be shown.
- Extension widgets use the extension's name as their toggle label.
- Applies the drag pointer-events and cell sizing rules to
moz-widget.
Comment 5•1 month ago
|
||
Backed out for causing mass failures @nsContentSecurityUtils.cpp.
Updated•1 month ago
|
Comment 7•1 month ago
|
||
Backed out for causing high frequency leaks.
Backout link: https://hg.mozilla.org/integration/autoland/rev/1d2637a051ec
Failure log: https://treeherder.mozilla.org/logviewer?job_id=599939467&repo=autoland&task=AfJdJrp3RhKbMitWQMyPdw.0&lineNumber=2532
Comment 9•1 month ago
|
||
| bugherder | ||
Updated•1 month ago
|
| Assignee | ||
Updated•24 days ago
|
Description
•