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 hallv...@opera.com 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

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 var-variables are scoped to the algorithm they are used in. So you need

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 hallv...@opera.com 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 var-variables are scoped to the algorithm they are used in. So

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 ann...@annevk.nl wrote: [...] It seemed easier to just make the change: https://github.com/whatwg/xhr/commit/67244d007243de427ffe8367ed0a7c49d40be199 -- http://annevankesteren.nl/