W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [DOMCore] fire and dispatch

From: Brendan Eich <brendan@mozilla.org>
Date: Sat, 5 Mar 2011 08:26:05 -0800
Message-Id: <A14FBF81-7B75-4A24-9A7F-FE8DBBFF4321@mozilla.org>
To: public-webapps@w3.org
> > 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

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