W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: [XHR] Constructor behavior seems to be underdefined

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 02 Apr 2012 18:12:49 -0400
Message-ID: <4F7A2461.40600@mit.edu>
To: Boris Zbarsky <bzbarsky@mit.edu>
CC: Ian Hickson <ian@hixie.ch>, Simon Pieters <simonp@opera.com>, Cameron McCormack <cam@mcc.id.au>, public-webapps@w3.org, "public-script-coord@w3.org" <public-script-coord@w3.org>
And just to be clear, the discussion about security and document.domain 
is somewhat orthogonal to the original issue.  WebIDL requires that all 
objects be associated with a particular global and that any spec 
defining anything that creates an object needs to define how this 
association is set up.  For the particular case of constructors, that 
means that either WebIDL needs to have a default (that particular specs 
may be able to override) or that any spec that uses constructors needs 
to explicitly define the global association (which is not quite 
identical to things like which origin and base URI are used).

-Boris
Received on Monday, 2 April 2012 22:13:19 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:51 GMT