[w3c/permissions] Exceptions in promise using methods (#102)

In the "permission request algorithm", the spec says: 

>  May throw an exception if the request can fail exceptionally.

This is wrong - and seems to read like it's going to throw exceptionally when called. It needs to reject the promise with an error. 

That same seems to apply request() method's algorithm:

>  If the previous step threw an exception, <a>reject</a> |promise| with that exception. 

It think that needs to be an Error. 


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/102

Received on Monday, 11 July 2016 06:48:38 UTC