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’s  exposed 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 {
   readonly  attribute DOMString doNotTrack;
};

   


--  
Marcos Caceres

Received on Wednesday, 8 January 2014 06:59:20 UTC