Bug 153258

Summary: Web Inspector: Uncaught exception when logging an Error object
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix
none
[IMAGE] After Change none

Joseph Pecoraro
Reported 2016-01-19 16:39:21 PST
* SUMMARY Uncaught exception when logging an Error object. * STEPS TO REPRODUCE 1. js> try { ({}).x.x } catch (e) { j = e; console.log(e); } 2. js> j => nothing * NOTES - Uncaught exception trying to call appendTitleSuffix on an ErrorObjectView. ErrorObjectView doesn't implement ObjectView's full API.
Attachments
[PATCH] Proposed Fix (2.57 KB, patch)
2016-01-19 16:43 PST, Joseph Pecoraro
no flags
[IMAGE] After Change (109.95 KB, image/png)
2016-01-19 16:43 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2016-01-19 16:39:37 PST
Joseph Pecoraro
Comment 2 2016-01-19 16:43:19 PST
Created attachment 269308 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 3 2016-01-19 16:43:38 PST
Created attachment 269309 [details] [IMAGE] After Change
Nikita Vasilyev
Comment 4 2016-01-19 18:22:55 PST
Good find! Looks like I didn't test for this case in http://trac.webkit.org/changeset/188017 I looked at the patch and it looks good. I'd r+ if I were a reviewer.
WebKit Commit Bot
Comment 5 2016-01-19 22:22:32 PST
Comment on attachment 269308 [details] [PATCH] Proposed Fix Clearing flags on attachment: 269308 Committed r195344: <http://trac.webkit.org/changeset/195344>
WebKit Commit Bot
Comment 6 2016-01-19 22:22:37 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.