Closed Bug 1026067 Opened 11 years ago Closed 7 years ago

doInstall/doInstallPackage should set aData.mm before calling confirmInstall directly when dom.mozApps.auto_confirm_install is true

Categories

(Core Graveyard :: DOM: Apps, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: myk, Unassigned)

Details

DOMApplicationRegistry's doInstall and doInstallPackage functions call confirmInstall directly when dom.mozApps.auto_confirm_install is true. But neither one sets aData.mm to the aMm argument, so aData.mm is undefined in confirmInstall. Whereas confirmInstall assumes that property is defined (and passes it to uninstall if permission installation fails). Thus doInstall/doInstallPackage should set aData.mm before calling confirmInstall directly when dom.mozApps.auto_confirm_install is true.
Product: Core → Core Graveyard
Core Graveyard / DOM: Apps is inactive. Closing all bugs in this component.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.