Bug 118861

Summary: Better value dumping for error messages
Product: WebKit Reporter: Chris Curtis <chris_curtis>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: ASSIGNED ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Curtis 2013-07-18 14:12:33 PDT
* string: string ("a very long str…") is not a function
Put the characters in parens and quotes, and truncate long strings
* object: object (HTMLDivElement) is not a function
Put the class name in parens.
* function: function (myFunction) is not a constructor
Put the displayName in parens.