Bug 29608

Summary: Web Inspector: Exception formatting is broken in console
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Status: RESOLVED FIXED    
Severity: Normal CC: timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch timothy: review+

Description Pavel Feldman 2009-09-21 13:28:02 PDT
1. Open WebInspector
2. Open console
3. Type "qwerty"

Expected: ReferenceError: Can't find variable: qwerty (in red)
Actual: nothing

This is a regression introduced by the "wrap primitive values" change. Now strings with error messages should also be wrapped.
Comment 1 Pavel Feldman 2009-09-21 13:29:55 PDT
Created attachment 39868 [details]
patch
Comment 2 Pavel Feldman 2009-09-21 14:34:18 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/inspector/front-end/ConsoleView.js
	M	WebCore/inspector/front-end/InjectedScript.js
Committed r48602