<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@apple.com" title="Alex Christensen <achristensen@apple.com>"> <span class="fn">Alex Christensen</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=279645&action=diff" name="attach_279645" title="Patch">attachment 279645</a> <a href="attachment.cgi?id=279645&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=279645&action=review">https://bugs.webkit.org/attachment.cgi?id=279645&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">> LayoutTests/http/tests/performance/performance-resource-timing-xhr-single-entry.html:35
> + 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>