Closed Bug 259211 Opened 21 years ago Closed 21 years ago

startSoftwareUpdate() should send install-blocked notification to UI

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dveditz, Assigned: dveditz)

References

()

Details

Attachments

(1 file)

The InstallTrigger.startSoftwareUpdate trigger does not send UI notifications when an install attempt was blocked. This method is used on several mozdev.org projects among others. It's a deprecated method, but still popular because the arguments are simple.
No longer blocks: 258798
Comment on attachment 158832 [details] [diff] [review] send notification when startSoftwareUpdate blocked review note: this code block is now identical with the analogous place in InstallTriggerGlobalInstall(). a r+sr should be sufficient
Attachment #158832 - Flags: superreview?(bryner)
Attachment #158832 - Flags: review?(bryner)
Comment on attachment 158832 [details] [diff] [review] send notification when startSoftwareUpdate blocked r+sr=me if you change that to: if (os && globalObject) { in the 3 or so places this code pattern appears.
Attachment #158832 - Flags: superreview?(bryner)
Attachment #158832 - Flags: superreview+
Attachment #158832 - Flags: review?(bryner)
Attachment #158832 - Flags: review+
Fix checked into aviary. This notification code only exists on the aviary branch. mkaply: this was part of the "silently failing" installs issue. bug 258798 was a problem for some sites, but with or without an updateEnabled() problem any site that used InstallTrigger.startSoftwareUpdate() would never get an info bar when blocked.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Summary: startSoftwareUpdate() does send install-blocked notification to UI → startSoftwareUpdate() should send install-blocked notification to UI
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: