[Webkit-unassigned] [Bug 51368] [Web Timing] requestStart and responseStart should be available even if the document is still loading

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 24 15:50:51 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=51368





--- Comment #10 from James Simonsen <simonjam at chromium.org>  2011-02-24 15:50:51 PST ---
(In reply to comment #9)
> I don't understand why this test is PHP.
> 
> <?php
>     echo str_repeat(" ", 100000);
>     flush();
>     ob_flush();
>     sleep(1);
> ?>
> 
> Should not be needed at all.
> 
> in line <script> tags run synchronously, so the test itself will have run long before we hit that php block.
> 
> Seems we should convert this test back to html and move it out of the http directory.

It's important that the script run before the main document has finished loading. didReceiveResponse() and didReceiveData() need to be called separately to expose the bug. We use HTTP, pad the size of the document, and use PHP's flush to reliably get the behavior we want.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list