W3C home > Mailing lists > Public > public-webapps@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.

Received on Monday, 9 April 2012 08:00:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:33 UTC