- From: Nicholas Doty <npdoty@w3.org>
- Date: Wed, 23 Jan 2013 01:03:41 -0800
- To: David Singer <singer@apple.com>
- Cc: "public-tracking@w3.org Group" <public-tracking@w3.org>
- Message-Id: <429ECC8E-F4C0-4E76-B5C4-66FA1E4BFBC9@w3.org>
I think that text was referring to the exception request methods, for example, confirmSiteSpecificTrackingException. It's possible that the beginning of 6.3.3 is now redundant to the end of 6.3.2. This text also assumes that the User Agent is responding to exception requests based on its understanding of the user preference, which I believe is no longer the case for the current draft. —Nick On Jan 23, 2013, at 12:45 AM, David Singer <singer@apple.com> wrote: > Thanks Nick > > 6.3.3 says > > Responses to the JavaScript API indicated should be consistent with this user preference (see below). > > and it probably should be property, and above, not below (that's my mistake) > > On Jan 23, 2013, at 8:09 , Nicholas Doty <npdoty@w3.org> wrote: > >> David and I had concluded that the requestDNTStatus() method was functionally equivalent to a window.doNotTrack property and so I've made that change to the draft. Please let us know if this is incorrect. >> >> (A previous iteration of this was my action-318.) >> >> Thanks, >> Nick >> >> Begin forwarded message: >> >>> Resent-From: public-tracking-commit@w3.org >>> From: "CVS User npdoty" <cvsmail@w3.org> >>> Subject: CVS WWW/2011/tracking-protection/drafts >>> Date: January 22, 2013 11:05:46 PM PST >>> To: public-tracking-commit@w3.org >>> Archived-At: <http://www.w3.org/mid/E1TxuP4-0003G5-Up@gil.w3.org> >>> >>> Update of /w3ccvs/WWW/2011/tracking-protection/drafts >>> In directory gil:/tmp/cvs-serv12525 >>> >>> Modified Files: >>> tracking-dnt.html >>> Log Message: >>> window.doNotTrack property equivalent to dsinger's query status method >>> >>> --- /w3ccvs/WWW/2011/tracking-protection/drafts/tracking-dnt.html 2013/01/22 08:23:15 1.179 >>> +++ /w3ccvs/WWW/2011/tracking-protection/drafts/tracking-dnt.html 2013/01/23 07:05:46 1.180 >>> @@ -420,24 +420,26 @@ >>> </section> >>> >>> <section id='js-dom'> >>> - <h3>JavaScript API to Detect Preference</h3> >>> + <h3>JavaScript Property to Detect Preference</h3> >>> <p class="issue" data-number="160" title="Do we need an exception-query API?"><b>[PENDING REVIEW]</b> >>> It might be useful, and 'complete the model', if we had a JS API that told a host what its current exception status is in a given context. See proposal here.<br /> >>> - <b>Proposal</b>: Specifically, an API QueryExceptionStatus() which examines the <b>document origin</b> of the script, the current <b>top-level origin</b> and returns an empty string if no DNT header would be sent to that document origin, or the exact DNT header (DNT:1 or DNT:0) that would be sent otherwise. >>> + <b>Proposal</b>: Specifically, a doNotTrack property which examines the <b>document origin</b> of the window, the current <b>top-level origin</b> and returns null if no DNT header would be sent to that document origin, or the exact DNT header (DNT:1 or DNT:0) that would be sent otherwise. >>> </p> >>> - <p>This call enables a site to determine what DNT header would be sent to it >>> - in the current context, taking into account the user's general preference >>> - (if any) and any exceptions.</p> >>> - <dl class="idl" title='[NoInterfaceObject] interface NavigatorDoNotTrack'> >>> - <dt>DOMString requestDNTStatus( )</dt> >>> + <p> >>> + This property enables a site executing code in its own origin >>> + to determine what DNT header would be sent to it in the current >>> + context, taking into account the user's general preference (if >>> + any) and any user-granted exceptions.</p> >>> + <dl class="idl" title='[NoInterfaceObject] interface WindowDoNotTrack'> >>> + <dt>attribute DOMString doNotTrack</dt> >>> <dd> >>> Returns the same string value that would be sent in a >>> <a>DNT-field-value</a> (<a href="#dnt-header-field" >>> class="sectionRef"></a>) to a <strong>target</strong> that is the >>> - document-origin of the request, in the >>> + document-origin of the <code>window</code>, in the >>> context of the current <strong>top-level origin</strong>. If no DNT >>> header would be sent (e.g. because a tracking preference is >>> - <a>not enabled</a>) the return value is <code>null</code>. >>> + <a>not enabled</a>) the value is <code>null</code>. >>> </dd> >>> </dl> >>> </section> >>> >>> >> > > David Singer > Multimedia and Software Standards, Apple Inc. >
Received on Wednesday, 23 January 2013 09:03:54 UTC