Bug 146427 - Web Inspector: iOS 8: Uncaught Exception expanding Object Prototype
Summary: Web Inspector: iOS 8: Uncaught Exception expanding Object Prototype
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: DoNotImportToRadar
Depends on:
Blocks:
 
Reported: 2015-06-29 14:53 PDT by Joseph Pecoraro
Modified: 2015-06-30 10:21 PDT (History)
8 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (1.98 KB, patch)
2015-06-29 14:55 PDT, Joseph Pecoraro
joepeck: commit-queue-
Details | Formatted Diff | Diff
[PATCH] Proposed Fix (3.16 KB, patch)
2015-06-29 16:16 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.