Confirmed users
93
edits
Line 141: | Line 141: | ||
<i>// registers to stop receiving push notifications for a given topic | <i>// registers to stop receiving push notifications for a given topic | ||
// DOMRequest.result is | // DOMRequest.result is empty on success.</i> | ||
DOMRequest unregister(DOMString pushEndpoint); | DOMRequest unregister(DOMString pushEndpoint); | ||
<i>// | <i>// the list of all push registrations for this app | ||
// DOMRequest.result is an Array of PushRegistration</i> | |||
DOMRequest registrations(); | |||
}; | }; | ||