Closed Bug 566868 Opened 15 years ago Closed 15 years ago

provider.isInstallAllowed() should be async

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Unfocused, Unassigned)

References

Details

(Whiteboard: [rewrite])

Currently, provider.isInstallAllowed() is synchronous. This works for the core providers, but there are cases where other providers would benefit from this being async. eg, looking up a whitelist/blacklist database.
Is this necessary for anything right now? We have a problem in that the InstallTrigger API is fixed and requires a synchronous result, changing that API is a lot harder than changing the API for extensions.
(In reply to comment #1) > Is this necessary for anything right now? No - more of a "we should do this eventually".
Short of implementing a new InstallTrigger API I don't think we can do this.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.