W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

[Bug 14916] WebIDL has no function type

From: <bugzilla@jessica.w3.org>
Date: Wed, 28 Dec 2011 16:34:22 +0000
To: public-script-coord@w3.org
Message-Id: <E1RfwSM-00074E-2v@jessica.w3.org>

Aryeh Gregor <ayg@aryeh.name> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |CLOSED

--- Comment #4 from Aryeh Gregor <ayg@aryeh.name> 2011-12-28 16:34:21 UTC ---
That seems okay to me.  I don't think we need a special "function" type,
because in fact most of the users of Function in HTML should get a callback
with a specific signature, not just any old function.

(It seems to make no actual difference what the signature for the callback is,
except that it theoretically guarantees the type of the parameters and puts
some constraints on how some return values will behave.  But it's still handy
as documentation.)

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 28 December 2011 16:34:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:05 UTC