W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

Re: Promises "if not omitted" language

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 22 Jul 2013 12:39:55 -0400
Message-ID: <51ED605B.8030907@mit.edu>
To: public-script-coord@w3.org
On 7/22/13 12:14 PM, Domenic Denicola wrote:
> FWIW I think there are two coherent choices here: `undefined`/function only, or anything allowed, with non-functions triggering the default behavior.

There's a third choice: undefined and both null trigger default 
behavior, functions get called, anything else is disallowed.

Or is that what you mean by the "antipattern that DOM specs in 
particular have perpetuated"?

-Boris
Received on Monday, 22 July 2013 16:40:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC