Bug 147679 - Web Inspector: Improve Support for PropertyName Iterator (Reflect.enumerate) in Inspector
Summary: Web Inspector: Improve Support for PropertyName Iterator (Reflect.enumerate) ...
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:
Depends on:
Blocks:
 
Reported: 2015-08-04 21:50 PDT by Joseph Pecoraro
Modified: 2015-08-05 07:05 PDT (History)
10 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (9.00 KB, patch)
2015-08-04 21:52 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-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.