Open Bug 1788940 Opened 4 years ago Updated 3 years ago

An error message is displayed in the “Browser Console” when Firefox is set as the default browser

Categories

(Firefox :: Shell Integration, defect)

Desktop
All
defect

Tracking

()

Tracking Status
firefox104 --- wontfix
firefox105 --- affected
firefox106 --- affected

People

(Reporter: cbulz, Unassigned)

Details

Attachments

(1 file)

[Notes]:

  • This issue is reproducible if Firefox is set as the default browser from the “about:welcome” page, upgrading users modal, and the “Set default” browser prompt.
  • This issue is not reproducible on Windows.

[Affected versions]:

  • Firefox Nightly 106.0a1 - Build ID: 20220902093009
  • Firefox Beta 105.0b6 - Build ID: 20220901185735
  • Firefox Release 104.0.1 - Build ID: 20220829141339

[Affected Platforms]:

  • macOS 12.4
  • Linux Mint 20.2 x64

[Prerequisites]:

  • Firefox is not set as the default browser.
  • Have the “Browser Console” opened. (Ctrl/Cmd+Shift+J)

[Steps to reproduce]:

  1. Open the browser using the profile from prerequisites.
  2. Navigate to the “about:preferences” page.
  3. Click the “Make default” button from the top of the page.
  4. Focus the “Browser Console” and observe the output.

[Expected result]:

  • No error messages are displayed in the “Browser Console”.

[Actual result]:

  • The following error message is displayed in the “Browser Console”:

Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIShellService.setDefaultBrowser]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource:///modules/ShellService.jsm :: setDefaultBrowser :: line 350" data: no] .

[Additional Notes]:

  • Attached is a screenshot of the issue:
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: