RE: Exception APIs feedback

On Tuesday, April 29, 2014 5:46 AM, Anne van Kesteren wrote:
> Both http://www.w3.org/2011/tracking-protection/drafts/tracking-

> dnt.html#exceptions-javascript-api
> and http://www.w3.org/2011/tracking-protection/drafts/tracking-

> dnt.html#exceptions-ww-javascript-api
> are inadequate. They need to allow for an asynchronous permission
> check. In other words, return a promise.

The design of the API was explicitly chosen to not use a promise pattern.
Given the expectation that few browsers would provide a UI and that
exceptions could be revoked soon after the UI prompt it is incumbent on
sites to check what exception status exists using the query methods.

> This API does not seem ready at all. Are there any implementations of it?

Yes. It is implemented in IE11.

Received on Tuesday, 29 April 2014 23:40:27 UTC