Re: Re: [XHR] Associating XHR instances with documents - clarify spec statement in 4.6.1

2012-11-22 Thread Anne van Kesteren
On Thu, Nov 22, 2012 at 2:25 PM, Anne van Kesteren wrote: > [...] It seemed easier to just make the change: https://github.com/whatwg/xhr/commit/67244d007243de427ffe8367ed0a7c49d40be199 -- http://annevankesteren.nl/

Re: Re: [XHR] Associating XHR instances with documents - clarify spec statement in 4.6.1

2012-11-22 Thread Anne van Kesteren
On Thu, Nov 22, 2012 at 2:14 PM, Hallvord Reiar Michaelsen Steen wrote: >> You'd also need to check the JavaScript global environment. > > Thanks for responding. How? Just like the spec does now? >> What I mean is that -variables are scoped to the algorithm they >> are used in. So you need to r

Re: Re: [XHR] Associating XHR instances with documents - clarify spec statement in 4.6.1

2012-11-22 Thread Hallvord Reiar Michaelsen Steen
> > "Let document be the document associated with the global object of the > > XMLHttpRequest interface object." > > You'd also need to check the JavaScript global environment. Thanks for responding. How?   > What I mean is that -variables are scoped to the algorithm they > are used in. So yo

Re: [XHR] Associating XHR instances with documents - clarify spec statement in 4.6.1

2012-11-22 Thread Anne van Kesteren
On Thu, Nov 22, 2012 at 12:34 PM, Hallvord Reiar Michaelsen Steen wrote: > This is quite convoluted, but precise. The last "object" could perhaps be > "instance" to make it clearer? However, my proposal is to move this text to > the constructor section (4.2 Constructors), for example as a new 3r