* SUMMARY ES6: Improved Console Support for Iterator Objects. For iterators, it is useful to see previews of the next few objects in the iterator. js> var iter = "long string"[Symbol.iterator]() <- StringIterator ["l", "o", "n", "g", " ", ...] js> iter.next(); iter.next(); iter <- StringIterator ["n", "g", " ", "s", "t", ...] And also Internal Properties, such as the object being iterating and for some iterators the Kind of Iterator ("key", "value", "key+value").
<rdar://problem/20080363>
Created attachment 248121 [details] [PATCH] Proposed Fix
Created attachment 248122 [details] [IMAGE] Iterator Previews
Created attachment 248124 [details] [IMAGE] Iterator Internal Properties
Attachment 248121 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/inspector/JSInjectedScriptHost.cpp:424: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/JavaScriptCore/inspector/JSInjectedScriptHost.cpp:432: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 2 in 21 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 248129 [details] [PATCH] Proposed Fix
Comment on attachment 248129 [details] [PATCH] Proposed Fix Clearing flags on attachment: 248129 Committed r181203: <http://trac.webkit.org/changeset/181203>
All reviewed patches have been landed. Closing bug.
*** Bug 141041 has been marked as a duplicate of this bug. ***