<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:bburg&#64;apple.com" title="Brian Burg &lt;bburg&#64;apple.com&gt;"> <span class="fn">Brian Burg</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Show upcoming values of non-native iterators"
   href="https://bugs.webkit.org/show_bug.cgi?id=152682">bug 152682</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>utatane.tea&#64;gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Show upcoming values of non-native iterators"
   href="https://bugs.webkit.org/show_bug.cgi?id=152682#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Show upcoming values of non-native iterators"
   href="https://bugs.webkit.org/show_bug.cgi?id=152682">bug 152682</a>
              from <span class="vcard"><a class="email" href="mailto:bburg&#64;apple.com" title="Brian Burg &lt;bburg&#64;apple.com&gt;"> <span class="fn">Brian Burg</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=152682#c3">comment #3</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=152682#c2">comment #2</a>)
&gt; &gt; I think this could backfire if the iterators are not side effect-free. We
&gt; &gt; can always do this for native iterators because we know how they are
&gt; &gt; implemented.
&gt; 
&gt; Correct!
&gt; 
&gt; &gt; Perhaps we could hide it behind the getter &quot;eyeball button&quot;.
&gt; 
&gt; Even this might be difficult. We may need to have some way to duplicate an
&gt; iterator, as peeking forward will actually advance the iterator and we can't
&gt; advance the actual iterator without then breaking execution.
&gt; 
&gt; --
&gt; 
&gt; An entirely alternative solution would be allowing developers to provide
&gt; their own previews for their own objects. See:
&gt; &lt;<a href="https://webkit.org/b/142656">https://webkit.org/b/142656</a>&gt; Web Inspector: Expose a way for developer
&gt; provided object previews</span >

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?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>