[XHR] XMLHttpRequest() Constructor

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
http://lachy.id.au/
http://www.opera.com/

Received on Wednesday, 23 April 2008 10:42:53 UTC