W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2010

[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.

From: <bugzilla@wiggum.w3.org>
Date: Sun, 14 Feb 2010 12:03:00 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1NgdBk-0004Cy-IT@wiggum.w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:11 UTC