W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: [XHR] Need to define the behavior when the Window the XHR is created from does not have an associated document

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 14 Dec 2012 17:54:59 +0100
Message-ID: <CADnb78hS02xh_zAihyS_KEnEQQDqJQYWXs0GGtA1rHu026crtg@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Jungkee Song <jungkee.song@samsung.com>, public-webapps@w3.org
On Fri, Dec 14, 2012 at 5:30 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> But note that you can get the same effect by just navigating the a browsing
> context, then calling a function that was defined in the no-longer-active
> document, without worrying about browsers that have buggy open()
> implementations.

The specification deals with that by having xhr.open() throw. I
suppose the same would happen for the other case, since the associated
Document object is no longer active.


-- 
http://annevankesteren.nl/
Received on Friday, 14 December 2012 16:55:28 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:56 GMT