Bug 129625

Summary: Web Inspector: Improve UI for when probe expressions throw an exception
Product: WebKit Reporter: Katie Madonna <madonnk>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Katie Madonna 2014-03-03 15:01:12 PST
Right now when we enter a probe expression that results in an exception (say, it's gibberish), the probe details sidebar shows an Object disclosure UI. This makes it hard to tell that an exception was thrown, because probe expressions that log objects show up the same way.

A different UI could be to highlight the cell with a red background, and add text that shows a popover with the exception details on hover.
Comment 1 Radar WebKit Bug Importer 2014-03-03 15:02:06 PST
<rdar://problem/16215955>
Comment 2 Timothy Hatcher 2014-03-03 15:32:18 PST
Putting the exception text in the cell and making the background red would be good i think. Or just have red text prefixed with error icon.