Bug 146427

Summary: Web Inspector: iOS 8: Uncaught Exception expanding Object Prototype
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix
joepeck: commit-queue-
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2015-06-29 14:53:35 PDT
* SUMMARY
iOS 8: Uncaught Exception expanding Object Prototype.

* STEPS TO REPRODUCE
1. js> dir({a:1})
2. Expand object and Object Prototype
  => Uncaught exception in inspector

* NOTES
- The backend sends us a __proto__ that is not a value but a get/set. This doesn't make sense and we should just ignore it so we don't show anything in the UI.
Comment 1 Joseph Pecoraro 2015-06-29 14:55:40 PDT
Created attachment 255779 [details]
[PATCH] Proposed Fix
Comment 2 Joseph Pecoraro 2015-06-29 16:06:59 PDT
Comment on attachment 255779 [details]
[PATCH] Proposed Fix

cq-, there may be another case that needs a similar check.
Comment 3 Joseph Pecoraro 2015-06-29 16:16:23 PDT
Created attachment 255792 [details]
[PATCH] Proposed Fix
Comment 4 WebKit Commit Bot 2015-06-30 10:21:16 PDT
Comment on attachment 255792 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 255792

Committed r186120: <http://trac.webkit.org/changeset/186120>
Comment 5 WebKit Commit Bot 2015-06-30 10:21:21 PDT
All reviewed patches have been landed.  Closing bug.