WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug