w3c/push-api — pull request #23 by mvano (2014-08-28 16:49:55+00:00)
Title: Cleaner steps for register, unregister, getRegistration

* Less verbose, no need to refer to resolver.
* Use DOMException, not DOMError.
* It's not ok to reject a promise without arguments, always provide a DOMException.

For more background details see the Promises Guide:
https://github.com/w3ctag/promises-guide