Readonly
actionReadonly
iconURLReturns a string containing the URL of an icon to display with the action.
Readonly
titleReturns a string containing action text to be shown to the user.
Readonly
windowsOn Windows, chrome-privileged notifications -- i.e., those with a
non-actionable principal -- can have actions that are activated by Windows
and not processed by Firefox. When windowsSystemActivationType
is true,
we request Windows to process action
. At the time of writing, Windows
recognizes the following actions:
action="dismiss"
dismisses the alert entirely.action="snooze"
snoozes the alert, generally making it disappear before
reappearing a Windows-determined amount of time later.On non-Windows, this field is ignored.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Generated using TypeDoc
Returns a string identifying a user action to be displayed on the alert.
This string is an opaque identifier that identifies an action in potential callbacks; it is not displayed to the user.