[Bug 8822] should make cookie setting dependent on whether the document has a URL, not on whether it has a browsing context; and should fail silently (set does nothing, get returns "") when there isn't one.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8822


Anne <annevk@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |annevk@opera.com




--- Comment #2 from Anne <annevk@opera.com>  2010-02-14 12:03:00 ---
Per
http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#document-response-entity-body
XMLHttpRequest returns the empty string for cookie but only for non same-origin
documents. It should always return the empty string however because we also
disallow access to Cookie headers. And setting should just be ignored.

I would prefer it if HTML5 could define this so all .cookie information is
self-contained.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 14 February 2010 12:03:01 UTC