[Webkit-unassigned] [Bug 163902] Add support for introducing simulated latency in network process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 24 12:37:58 PDT 2016


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

--- Comment #5 from Antti Koivisto <koivisto at iki.fi> ---
> > +void NetworkLoad::notifyDidReceiveResponse(ResourceResponse&& response, ResponseCompletionHandler&& completionHandler)
> 
> Let's just put this in didReceiveResponseNetworkSession with an if statement.

This the part of didReceiveResponseNetworkSession that is also called from timer completion function. It would be awkward to know whether initialize throttling without the split.

> What if there's an error before we receive the response?

It does not get throttled. I suppose it could be though it doesn't seem super important.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161024/3687a738/attachment.html>


More information about the webkit-unassigned mailing list