On 9/20/13 7:19 AM, Simon Pieters wrote:
It's defined here:
http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-cookie
Though note that this part of the spec is in flux. In particular, the
whole HTMLDocument vs Document vs XMLDocument mess is still unclear, and
the spec doesn't match implementations at all.
I don't think tying XHR to that unstable stuff is a good idea. Though
of course we do need to end up speccing _what_ sort of document is
returned here, which may force a dependency.
-Boris