Strategies for standardizing mistakes

David-Sarah Hopwood david-sarah at jacaranda.org
Tue Oct 13 16:01:19 PDT 2009


Brendan Eich wrote:
> On Oct 12, 2009, at 12:23 AM, Maciej Stachowiak wrote:
> 
>> I don't want to get too deep into this, but I question the claim that
>> [Mozilla document.all] is technically compatible with ES5. Yes, it's
>> possible for a host object to return any value at any time for a property
>> access. But for it to consistently decide this based on the context of
>> the accessing code, this essentially means that ES3 [[Get]] (or the ES5
>> equivalent) are getting extra parameters that indicate what kind of
>> expression contains the subexpression.
> 
> No, it means the host object can use a back-channel, or telepathy, or
> something outside of the specs but definitely inside of the implementation.

I agree with Maciej. The implementation-defined operations have clear
specifications of their parameters. I think that it is highly undesirable
to adopt an interpretation in which they can have arbitrary additional
inputs depending on the context in which they are used.

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com



More information about the es-discuss mailing list