W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: XMLHttpRequest test suite suggestion

From: Jonas Sicking <jonas@sicking.cc>
Date: Sun, 23 Apr 2006 04:34:51 -0700
Message-ID: <444B665B.4020803@sicking.cc>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-webapi@w3.org

Boris Zbarsky wrote:
> If I follow correctly, relative URIs passed to open() should be resolved 
> relative to caller (whatever that means; more on that in a separate 
> mail). That's not actually precisely what Gecko does right now; probably 
> a bug in Gecko.
> In particular, if you have documents A and B at two different URIs that 
> can talk to each other:
> 1)  Document A creates an XMLHttpRequest object
> 2)  Document A sets an onreadystatechange listener on it.
> 3)  Document B calls open()
> the base URI will be document A as far as I can tell from the code.  
> Worth adding a test to the test suite for this and similar things where 
> two different windows both work with the same XMLHttpRequest object.
> Note that each step here needs to be done off a timer or something to 
> avoid the ambiguity as to what "caller" means that I alluded to earlier.

See also http://www.w3.org/mid/441E69F1.2030709@sicking.cc

/ Jonas
Received on Sunday, 23 April 2006 11:34:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC