<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ap&#64;webkit.org" title="Alexey Proskuryakov &lt;ap&#64;webkit.org&gt;"> <span class="fn">Alexey Proskuryakov</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION (r200887): LayoutTest http/tests/performance/performance-resource-timing-cached-entries.html is flaky"
   href="https://bugs.webkit.org/show_bug.cgi?id=157816">bug 157816</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;">Attachment #279286 Flags</td>
           <td>review?
           </td>
           <td>review+, commit-queue-
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION (r200887): LayoutTest http/tests/performance/performance-resource-timing-cached-entries.html is flaky"
   href="https://bugs.webkit.org/show_bug.cgi?id=157816#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION (r200887): LayoutTest http/tests/performance/performance-resource-timing-cached-entries.html is flaky"
   href="https://bugs.webkit.org/show_bug.cgi?id=157816">bug 157816</a>
              from <span class="vcard"><a class="email" href="mailto:ap&#64;webkit.org" title="Alexey Proskuryakov &lt;ap&#64;webkit.org&gt;"> <span class="fn">Alexey Proskuryakov</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=279286&amp;action=diff" name="attach_279286" title="Patch">attachment 279286</a> <a href="attachment.cgi?id=279286&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=279286&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=279286&amp;action=review</a>

<span class="quote">&gt; LayoutTests/http/tests/performance/performance-resource-timing-cached-entries.html:11
&gt; +    if (window.performance)
&gt; +        console.log(&quot;current entries: &quot; + performance.getEntriesByType('resource').length);</span >

I was thinking of something like (right after a shouldBe()):

if (foundResource !== 2) {
    for (var i = 0; i &lt; resources.length; ++i) {
        if (resources[i].name.indexOf(&quot;square&quot;) !== -1)
            debug(resources.name);
    }
}

That way, there will be more information logged, and you won't need to change the expectation.</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>