Re: Web IDL Garden Hose (was: ECMA TC 39 / W3C HTML and WebApps WG coordination)

On Sep 26, 2009, at 11:16 PM, Cameron McCormack wrote:

> OK, that is indeed what I’m hearing from you guys.  “Host objects may
> implement these [internal] methods in any manner unless specified
> otherwise” in ES3 doesn’t sound like it’s particularly discouraging of
> the different behaviour that Web IDL prescribes.

That is regrettable ES1-era language, written to accommodate the "host  
objects" found prominently in IE due to too-low-level COM integration.  
It should have come with color commentary advising against exploiting  
the barn-door-sized loopholes.


>> Why is functionality that isn't available through native objects
>> needed?
>
> For web compatibility, really.

Web Storage is a recent example of something other than web  
compatibility at work. Imitation of what went before, keystroke- 
optimization to use the short property reference expression instead of  
get/put/remove methods, or both, AFAICT.


> Ignoring the legacy issues, assuming we have ES5 to build on, then  
> yeah
> it seems like most things can be done (from Maciej’s quick analysis).
> The array like objects do seem like a useful pattern for authors to  
> use,
> though.

Seems like everyone agrees Array-likes are not the issue.

/be

Received on Sunday, 27 September 2009 06:28:56 UTC