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.
Fires a push-message
observer notification, and sends a push
event to
the service worker registered for the |scope|. |messageId| is an opaque ID
used to report errors if the worker fails to handle the message.
Same as notifyPush
, except the subject of the observer notification
receives an nsIPushMessage
instance containing the |data|. Service
workers can access the |data| via the PushMessageData
WebIDL interface.
Fires a push-subscription-modified
observer notification. Chrome code
can listen for this notification to see when a subscription is added,
updated, removed, or expired for any |scope|.
This is useful for Dev Tools and debugging add-ons that passively observe
when subscriptions are created or dropped. Other callers should listen for
push-subscription-change
and resubscribe instead.
Generated using TypeDoc
Fires XPCOM observer notifications and service worker events for messages sent to push subscriptions.