fyi: doNotTrack attribute in API

Hi TPWG,

enclosed some technical feedback received via the public mailing list.

I appreciate the feedback and deem the changes to be non-controversial,
and I have asked Roy/David introduce corresponding edits.


Please comment if you see a need for further discussion in the WG before 
fixing the spec.

Regards,

Matthias

-----Original Message-----
From: Marcos Caceres [mailto:mcaceres@mozilla.com]
Sent: Wednesday, January 08, 2014 7:59 AM
To: public-tracking-comments@w3.org
Subject: doNotTrack attribute

There seems to be some inconsistencies between the spec and browsers 
with regards to the `doNotTrack` IDL attribute. In the spec, it says 
it's on the `window` object in some places, but in other places it says 
it's on the Navigator interface. In browsers, it'sexposed on the 
Navigator interface (at least in Chrome, and FF), as it should be.

Also, why is it not read only in the spec? It's implemented as readonly 
in browsers - and it wouldn't make any sense to make it writable ... I'm 
sure it's just an oversight :)

Can you please correct the spec to say:

partial interface Navigator {

readonlyattribute DOMString doNotTrack; };

--

Marcos Caceres

Received on Tuesday, 14 January 2014 19:14:36 UTC