Re: [XHR] xhr.responseXML.cookie ?

2013-09-20 Thread Boris Zbarsky

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



Re: [XHR] xhr.responseXML.cookie ?

2013-09-20 Thread Simon Pieters
On Fri, 20 Sep 2013 12:53:23 +0200, Hallvord Steen   
wrote:



Hi,
per this test:
http://w3c-test.org/web-platform-tests/master/XMLHttpRequest/responsexml-document-properties.htm
some implementations define responseXML.cookie and some don't. This  
probably isn't really XML-related, but I guess it should be raised and  
possibly defined somewhere (is it already?)?


It's defined here:

http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-cookie

Since that document has no browsing context, getting returns empty string  
and setting does nothing, per spec.


--
Simon Pieters
Opera Software



Re: [XHR] xhr.responseXML.cookie ?

2013-09-20 Thread Hallvord Steen
> isn't really XML-related

Clarification: I meant XHR-related.
HR



[XHR] xhr.responseXML.cookie ?

2013-09-20 Thread Hallvord Steen
Hi,
per this test: 
http://w3c-test.org/web-platform-tests/master/XMLHttpRequest/responsexml-document-properties.htm
some implementations define responseXML.cookie and some don't. This probably 
isn't really XML-related, but I guess it should be raised and possibly defined 
somewhere (is it already?)?
-Hallvord