Re: [DOMCore] fire and dispatch

> > 2. Run getters and define in which order they are retrieved
> 
> This can get pretty hard to specify (esp. because it involves describing 
> what happens if those getters reenter the API you're defining).
Why is that particularly hard? Calling fireEvent (or whatever it will be called) twice on a given event has to be specified.

This "suppress getters" goal seems like a mistake to me, and ES5 itself does not worry about it, even as it both standardizes getters and adds objects-as-keyword-parameter-sets to standard library APIs. See

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12248#c2

/be

Received on Saturday, 5 March 2011 16:26:39 UTC