[Webkit-unassigned] [Bug 41600] New: Provide better error message for non-generic function type errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 5 03:25:22 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41600

           Summary: Provide better error message for non-generic function
                    type errors
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kent.hansen at nokia.com


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".

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list