Closed Bug 1828079 Opened 3 years ago Closed 3 years ago

BackgroundUpdates.sys.mjs should not check for a registry key outside of Windows

Categories

(Toolkit :: Application Update, defect)

defect

Tracking

()

RESOLVED FIXED
114 Branch
Tracking Status
firefox-esr102 --- wontfix
firefox112 --- wontfix
firefox113 --- wontfix
firefox114 --- fixed

People

(Reporter: florian, Assigned: florian)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

At the end of every startup, I see this in my terminal:

console.error: BackgroundUpdate: 
  _reasonsToNotScheduleUpdates: Failed to check for Maintenance Service Registry Key: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIUpdateProcessor.getServiceRegKeyExists]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: resource://gre/modules/BackgroundUpdate.sys.mjs :: _reasonsToNotScheduleUpdates :: line 251"  data: no]

The documentation says "throws NS_ERROR_NOT_IMPLEMENTED If this is called on a non-Windows platform." so I think this code should check if we are on Windows before doing the call.

Assignee: nobody → florian
Status: NEW → ASSIGNED
Duplicate of this bug: 1743495

The following field has been copied from a duplicate bug:

Field Value Source
Regressed by bug 1705726 bug 1743495

For more information, please visit auto_nag documentation.

Keywords: regression
Regressed by: 1705726

Set release status flags based on info from the regressing bug 1705726

Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/81d930c67728 BackgroundUpdates.sys.mjs should not check for a registry key outside of Windows, r=application-update-reviewers,nalexander,bytesized.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch

The patch landed in nightly and beta is affected.
:florian, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox113 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(florian)

(In reply to Release mgmt bot [:suhaib / :marco/ :calixte] from comment #7)

:florian, is this bug important enough to require an uplift?

I would say no, the only user impact is reduced console noise for Mac users.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: