Rename cancel() (was Feedback from Safari on Web Notifications)

Second point for continued discussion: rename cancel() to close(). I thought the asymmetry between cancel() the call and onclose() the event listener made the API confusing.

I think I still prefer close() and onclose() even if its name doesn't cover the queueing situation, but can go with using "remove" and "onremove". Least desirable to me is cancel()/oncancel().

Jon

Received on Monday, 12 March 2012 08:25:20 UTC