RE: [w3c/dnt] Changes to the JavaScript API. (#6)

I took a look at the confirmSiteSpecific call and it is as I suspected, designed to be called by the top-level browsing context (first-party), or at least the context that called the storeSiteSpecific (which I think must be the top-level, is that right David?). The description talks about matching the target in a supplied arrayOfDomainStrings so that does not fit easily into this situation.

 

It is a good idea that the receiving server should be able to call it to determine if the DNT:0 it received was the result of a site-specific exception as Shane suggested, but it is not described that way ATM in the TPE.

 

Of course this only works for an  iframe, because it has to return HTML resident JS in the response, so a server handling a an image (say) would still have no way of finding out it was site-specific consent, so might place a cookie.

 

But if we fixed the text so confirm could be called by a context responding to a DNT:0 request that would go a long way to solving my use case.

 

 

 

 

 

From: Mike O'Neill [mailto:michael.oneill@baycloud.com] 
Sent: 06 February 2017 21:11
To: 'w3c/dnt' <reply+004042224cf3d36294ca6c71a10b3d5389ec093ddcab8c6692cf0000000114b0768692a16>; 'w3c/dnt' <dnt@noreply.github.com>
Cc: 'Mention' <mention@noreply.github.com>
Subject: RE: [w3c/dnt] Changes to the JavaScript API. (#6)

 

Here is section 7.4 with the changes. The raw file is on the github.

 

https://w3c.github.io/dnt/dntapiwithpromises.html

 

 

From: mschunte2 [mailto:notifications@github.com] 
Sent: 06 February 2017 17:38
To: w3c/dnt <dnt@noreply.github.com <mailto:dnt@noreply.github.com> >
Cc: michael-oneill <michael.oneill@baycloud.com <mailto:michael.oneill@baycloud.com> >; Mention <mention@noreply.github.com <mailto:mention@noreply.github.com> >
Subject: Re: [w3c/dnt] Changes to the JavaScript API. (#6)

 

Conclusion: OK to return promises. Editors: Could you introduce this change to the spec? (Mike can provide more details if needed).

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <https://github.com/w3c/dnt/issues/6#issuecomment-277755213> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AEBCIk8JmU1dSJQ1XRvBWoYp8UbQ3m4eks5rZ1qGgaJpZM4JyknH> .

Received on Monday, 6 February 2017 21:25:24 UTC