[Webkit-unassigned] [Bug 152682] Web Inspector: Show upcoming values of non-native iterators
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 4 16:59:21 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=152682
Brian Burg <bburg at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |utatane.tea at gmail.com
--- Comment #4 from Brian Burg <bburg at apple.com> ---
(In reply to comment #3)
> (In reply to comment #2)
> > I think this could backfire if the iterators are not side effect-free. We
> > can always do this for native iterators because we know how they are
> > implemented.
>
> Correct!
>
> > Perhaps we could hide it behind the getter "eyeball button".
>
> Even this might be difficult. We may need to have some way to duplicate an
> iterator, as peeking forward will actually advance the iterator and we can't
> advance the actual iterator without then breaking execution.
>
> --
>
> An entirely alternative solution would be allowing developers to provide
> their own previews for their own objects. See:
> <https://webkit.org/b/142656> Web Inspector: Expose a way for developer
> provided object previews
If they use iterators, why are they going to have any less trouble duplicating the iterator state than we are?
cc: Yusuke, what do you recommend doing to implement peeking at next iterator values?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160105/8149712d/attachment-0001.html>
More information about the webkit-unassigned
mailing list