Bug 147679

Summary: Web Inspector: Improve Support for PropertyName Iterator (Reflect.enumerate) in Inspector
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, sam, timothy, webkit-bug-importer, ysuzuki
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2015-08-04 21:50:22 PDT
* SUMMARY
Improve Support for PropertyName Iterator (Reflect.enumerate) in Inspector.

* BEFORE:
> Reflect.enumerate(window)
< PropertyName Iterator {} = $1

* AFTER:
> Reflect.enumerate(window)
< PropertyName Iterator ["fadeQueue", "getKey", "Mint", "myWidth", "zoomSteps", …] = $1

* NOTES
Also show the internal object being enumerated.
Comment 1 Joseph Pecoraro 2015-08-04 21:52:58 PDT
Created attachment 258266 [details]
[PATCH] Proposed Fix
Comment 2 Yusuke Suzuki 2015-08-04 23:48:12 PDT
I implemented iterator->clone(exec) in advance for this :D
Comment 3 WebKit Commit Bot 2015-08-05 07:05:00 PDT
Comment on attachment 258266 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 258266

Committed r187959: <http://trac.webkit.org/changeset/187959>
Comment 4 WebKit Commit Bot 2015-08-05 07:05:05 PDT
All reviewed patches have been landed.  Closing bug.