[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 11:35:41 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=163902
--- Comment #2 from Alex Christensen <achristensen at apple.com> ---
Comment on attachment 292632
--> https://bugs.webkit.org/attachment.cgi?id=292632
patch
View in context: https://bugs.webkit.org/attachment.cgi?id=292632&action=review
> Source/WebKit2/NetworkProcess/NetworkLoad.cpp:298
> +void NetworkLoad::notifyDidReceiveResponse(ResourceResponse&& response, ResponseCompletionHandler&& completionHandler)
Let's just put this in didReceiveResponseNetworkSession with an if statement.
> Source/WebKit2/NetworkProcess/NetworkLoad.cpp:327
> void NetworkLoad::didCompleteWithError(const ResourceError& error)
> {
> + if (m_throttle) {
> + m_throttle->completionError = error;
> + return;
> + }
What if there's an error before we receive the response?
--
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/5623a93f/attachment.html>
More information about the webkit-unassigned
mailing list