W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

RE: Exception APIs feedback

From: Adrian Bateman <adrianba@microsoft.com>
Date: Tue, 29 Apr 2014 23:39:36 +0000
To: Anne van Kesteren <annevk@annevk.nl>, "public-tracking-comments@w3.org" <public-tracking-comments@w3.org>
CC: WebApps WG <public-webapps@w3.org>
Message-ID: <f5d2ff8a296740a791286027926cad60@BL2PR03MB604.namprd03.prod.outlook.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC