On Thu, Nov 20, 2008 at 1:43 AM, Maciej Stachowiak <[EMAIL PROTECTED]> wrote:
> > If all non-ECMAScript-coded methods in the DOM, or other add-on interfaces, > can be Native internal functions rather than Host objects, even if they have > behavior that does not match any predefined native Function, then I am not > sure what a requirement for Host objects not to have [[Class]] "Function" > would achieve. > Native internal functions are still required to satisfy the function contract, including that they inherit from a Function.prototype, while host objects are exempt from almost any contractual terms. The requirement would mean that [[Class]] "Function" becomes a reliable indicator that we have an object that obeys the function contract. -- Cheers, --MarkM
_______________________________________________ Es-discuss mailing list Es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss