toolkit/mozapps/extensions/amIWebInstallListener.idlScriptable
Called when installation by websites is currently disabled.
1.0
66
Introduced
Gecko 2.0
Inherits from: nsISupports Last changed in Gecko 8.0 (Firefox 8.0 / Thunderbird 8.0 / SeaMonkey 2.5)

Method overview

void confirm(in nsIDOMWindow aWindow, in nsIURI aUri, [array, size_is(aCount)] in nsIVariant aInstalls, [optional] in PRUint32 aCount);

Prior to Gecko 8.0, all references to nsIDOMWindow used in this interface were nsIDOMWindow.

Methods

confirm()

Gets a confirmation that the user wants to start the installs.

void confirm(
  in nsIDOMWindow aWindow,
  in nsIURI aUri,
  [array, size_is(aCount)] in nsIVariant aInstalls,
  in PRUint32 aCount Optional
);
Parameters
aWindow
The window that triggered the installs.
aUri
The URI of the site that triggered the installs.
aInstalls
The AddonInstalls that were requested.
aCount Optional
The number of AddonInstalls.