<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Fix ResourceTiming XHR and initiator flakiness"
   href="https://bugs.webkit.org/show_bug.cgi?id=158019#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Fix ResourceTiming XHR and initiator flakiness"
   href="https://bugs.webkit.org/show_bug.cgi?id=158019">bug 158019</a>
              from <span class="vcard"><a class="email" href="mailto:achristensen&#64;apple.com" title="Alex Christensen &lt;achristensen&#64;apple.com&gt;"> <span class="fn">Alex Christensen</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=279645&amp;action=diff" name="attach_279645" title="Patch">attachment 279645</a> <a href="attachment.cgi?id=279645&amp;action=edit" title="Patch">[details]</a></span>
Patch

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

Would it work with a timeout of 0?  I think a better approach would be to create the xhr after you're done with the first runTest call to make sure it will never start before the first one.

<span class="quote">&gt; LayoutTests/http/tests/performance/performance-resource-timing-xhr-single-entry.html:35
&gt; +            setTimeout(runTest, 10);</span >

Why do you call runTest twice but only expect it to be run once?</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>