Closed Bug 1850631 Opened 10 months ago Closed 10 months ago

Remove default agent commands to set system defaults

Categories

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

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- wontfix
firefox120 --- fixed

People

(Reporter: nrishel, Assigned: emk)

References

Details

(Whiteboard: fidedi-ope)

Attachments

(2 files)

Now that the default browser agent is being rewritten as a background task it no longer makes sense to manually call it as a separate process when setting system defaults via Firefox.

Succinctly, we should:

  1. Remove set-default-browser-user-choice and set-default-extension-handlers-user-choice commands from the default agent.
  2. Modify the existing code in Firefox which invokes the default agent to set defaults to instead do the task in Firefox directly.
  3. Optional cleanup, setting system default should likely be handled in our shell XPCOM APIs, and the default agent should use them instead of said logic existing in the default agent.
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/daceab96e958
Call nsIDefaultAgent directly to set default. r=nrishel,nalexander
Blocks: 1851596
Regressions: 1852881
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

Backed out due to changes breaking both Default Agent telemetry and launching Firefox in response to interaction with the Default Agent notifications.

Depends on D190867

Attachment #9358188 - Attachment description: Backed out changeset daceab96e958 (Bug 1850631) → WIP: Backed out changeset daceab96e958 (Bug 1850631)
Attachment #9358188 - Attachment description: WIP: Backed out changeset daceab96e958 (Bug 1850631) → Backed out changeset daceab96e958 (Bug 1850631)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: