Closed Bug 1765418 Opened 3 years ago Closed 3 years ago

Unsupported notification is not displayed on restart

Categories

(Toolkit :: Application Update, defect, P1)

defect

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: standard8, Assigned: standard8)

Details

Attachments

(1 file)

I noticed this by code inspection - there is some code in UpdateListener.init that is meant to display the unsupported notification to the application menu on reset if the preference is set.

Unfortunately due to the lazy getter in BrowserGlue and nothing to trigger it, the init function never gets called.

It would probably be better if it moved to a task run by _scheduleStartupIdleTasks.

STR:

  1. With a Firefox profile setup, via about:config add a preference app.update.unsupported.url with value https://example.com.
  2. Restart Firefox

Actual Results

Nothing is displayed in the application menu.

Expected Results

The application menu has a warning sign, and provides information about being unable to update.

Note, I'm not sure when this was introduced, bug 1521427 first implemented this.

Assignee: nobody → standard8
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P1
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6612b745e97c Unsupported notification is not displayed on restart. r=bytesized,application-update-reviewers

Backed out 2 changesets (bug 1765418, bug 1765427) for causing bc failures in browser_doorhanger_bc_check_unsupported.

Backout link: https://hg.mozilla.org/integration/autoland/rev/d9abb49c107bfa10a2623d71d0956affe67cc1c6

Push with failures

Failure log

Flags: needinfo?(standard8)

I missed that, I've fixed the test now.

Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1989273b7efe Unsupported notification is not displayed on restart. r=bytesized,application-update-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: