NEW 41600
Provide better error message for non-generic function type errors
https://bugs.webkit.org/show_bug.cgi?id=41600
Summary Provide better error message for non-generic function type errors
Kent Hansen
Reported 2010-07-05 03:25:23 PDT
o = { toString: Function.prototype.toString }; o.toString() produces "TypeError: Type error" It would be nice if the output was more descriptive; e.g. SpiderMonkey produces "TypeError: Function.prototype.toString called on incompatible object", and V8 produces "TypeError: Function.prototype.toString is not generic".
Attachments
Note You need to log in before you can comment on or make changes to this bug.