[whatwg] sandboxed documents and cookies

Ian Melven imelven at mozilla.com
Sat Jun 16 08:34:16 PDT 2012


ah ok, yes, it seems that we misunderstood - thanks for the clarification !

ian


----- Original Message -----
From: "Anne van Kesteren" <annevk at annevk.nl>
To: "Ian Melven" <imelven at mozilla.com>
Cc: whatwg at lists.whatwg.org, david-sarah at jacaranda.org
Sent: Saturday, June 16, 2012 7:14:09 AM
Subject: Re: [whatwg] sandboxed documents and cookies

On Sat, Jun 16, 2012 at 12:46 AM, Ian Melven <imelven at mozilla.com> wrote:
> IE 10, Chrome and the patches I am working on for Firefox all throw a SecurityError
> even if no cookies are set - i agree that this seems like the correct behaviour.

It seems you misunderstand the term cookie-free Document object. It's
a specific kind of Document object, used by XMLHttpRequest (and maybe
ought to be used for DOMParser and such too).

I believe from testing the behavior for XMLHttpRequest is different in
browsers from throwing, although I would prefer if they were
consistent there.


-- 
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/



More information about the whatwg mailing list