Closed
Bug 1893269
Opened 5 months ago
Closed 4 months ago
Build out basic infrastructure for BackupService management UI
Categories
(Firefox :: Profile Backup, task, P3)
Firefox
Profile Backup
Tracking
()
RESOLVED
FIXED
127 Branch
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-device-migration])
Attachments
(1 file)
This bug is for doing the following:
- Creating a new BackupUIParent / BackupUIChild JSWindowActor pair that can run in about:preferences. Have the BackupUIChild get instantiated on an untrusted
BackupUI:InitWidget
event. - Create a simple custom element that gets loaded into about:preferences, and upon binding to the DOM, emits the
BackupUI:InitWidget
event. - Have the BackupUIChild handle that event. Upon receiving
BackupUI:InitWidget
, have the BackupUIChild add the widget element to an internal WeakSet of widgets. - Have the BackupService expose a
state
getter. This getter should return an empty and frozen object by default. - Have the BackupService extend EventTarget.
- Have the BackupUIParent add an event listener for
BackupService:StateUpdate
. - Insert the custom element from 2/3 into the section of about:preferences added in bug 1892959.
We'll want some very very basic tests here. We'll want to test that the BackupUI:InitWidget
event is properly fired, at least. We'll want to flesh out more tests as we actually get to the point of exposing state via that BackupService.state object.
Updated•5 months ago
|
Assignee | ||
Comment 1•5 months ago
|
||
It is an explicit goal that the custom element from steps 2 and 3 of comment 0 can, in the future, be loaded up and manipulated in Storybook.
Assignee | ||
Comment 2•5 months ago
|
||
Updated•5 months ago
|
Assignee: nobody → mconley
Status: NEW → ASSIGNED
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/49f0339c4d76 Build out basic infrastructure for backup management UI. r=backup-reviewers,settings-reviewers,firefox-desktop-core-reviewers ,Gijs,fluent-reviewers,kpatenio
Comment 4•4 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
status-firefox127:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•