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

Re: [XHR] Constructor behavior seems to be underdefined

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 09 Apr 2012 17:59:52 +1000
Message-ID: <4F8296F8.4010307@mcc.id.au>
To: Adam Barth <w3c@adambarth.com>
CC: Boris Zbarsky <bzbarsky@mit.edu>, Ian Hickson <ian@hixie.ch>, Simon Pieters <simonp@opera.com>, public-webapps@w3.org, "public-script-coord@w3.org" <public-script-coord@w3.org>
Cameron McCormack:
>>> Would it make sense to require objects that are returned from a
>>> constructor be associated with the same global that the constructor
>>> itself is?

Boris Zbarsky:
>> That seems like the simplest approach to me, yes.  It's what Gecko does in
>> practice anyway at the moment, afaict.

Adam Barth:
> Note: WebKit has bugs in this regard, but we've been (slowly!)
> converging towards Gecko's behavior, which we believe is aesthetically
> correct.

OK, I've made this change.

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.519;r2=1.520;f=h
Received on Monday, 9 April 2012 08:00:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:06 UTC