Closed Bug 1867144 Opened 1 year ago Closed 1 year ago

Migrate Default Agent `do-task` control flow into BackgroundTask_defaultagent.sys.mjs

Categories

(Toolkit :: Default Browser Agent, task, P3)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: nrishel, Assigned: nrishel)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

We'd like to migrate more behavior into BackgroundTask_defaultagent.sys.mjs to simplify migration to Firefox-based utilities in a memory safe environment.

Reimplements control flow of handling default agent changes, showing and taking action on results of notifications, and timing out into JavaScript. Also queries Nimbus to check if we should fall back to the C++ do-task implementation.

QA Whiteboard: [fidedi-wdba]
See Also: → 1871512
Pushed by nrishel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/576305cdd39e Part 1: Expose check for the main app having run recently to XPCOM. r=nalexander,mhughes https://hg.mozilla.org/integration/autoland/rev/0f9df3f01bff Part 2: Expose nsIDefaultAgent function to send Default Agent Ping. r=nalexander https://hg.mozilla.org/integration/autoland/rev/f55521e6b0eb Part 3: Add Nimbus feature to allow rollback to C++ do-task implementation. r=nalexander,mhughes https://hg.mozilla.org/integration/autoland/rev/a405637ffcb3 Part 4: Migrate `do-task` control flow into JavaScript. r=nalexander
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/38d7b5d6edc7 Part 5: Fix failures on browser_all_files_referenced.js related to defaultagent.ftl. a=test-fix
See Also: → 1793715
See Also: → 1829804
See Also: → 1867097
Regressions: 1872297
Regressions: 1872415
Regressions: 1883476
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: