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

[XHR] XMLHttpRequest() Constructor

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Wed, 23 Apr 2008 12:42:14 +0200
Message-ID: <480F1286.4010008@lachy.id.au>
To: public-webapi <public-webapi@w3.org>

The XMLHttpRequest spec doesn't actually define what object is returned 
by the XMLHttpRequest() constructor.  It should define that an object 
implementing the XMLHttpRequest interface must be created and returned.

Alternatively, the spec could just include a supplemental IDL for for 
the Window interface, but that would require Bindings4DOM to include the 
suggested "[Supplement]" idea [1], or similar.

The second example in section 4 "The XMLHttpRequest Object" states:

   "If iframe is a Window object client will have a pointer to
    iframe.document in the following example"

There needs to be a comma after "Window object".

[1] http://lists.w3.org/Archives/Public/public-webapi/2008Apr/0092.html

Lachlan Hunt - Opera Software
Received on Wednesday, 23 April 2008 10:42:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:10:01 UTC