[Webkit-unassigned] [Bug 168963] NetworkProcess aborts in WebKit::NetworkLoad::didCompleteWithError at Source/WebKit2/NetworkProcess/NetworkLoad.cpp:423

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 28 23:16:43 PST 2017


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

Antti Koivisto <koivisto at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #302929|review?                     |review-
              Flags|                            |

--- Comment #7 from Antti Koivisto <koivisto at iki.fi> ---
Comment on attachment 302929
  --> https://bugs.webkit.org/attachment.cgi?id=302929
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=302929&action=review

> Source/WebKit2/NetworkProcess/cache/NetworkCacheSpeculativeLoad.cpp:86
> -    didComplete();
> -
> -    // This causes call to didFailLoading().
> -    if (load)
> +    if (load) {
> +        // This causes call to didFailLoading() that calls didComplete().
>          load->continueWillSendRequest({ });
> +    } else
> +        didComplete();

This would break the functionality since didFailLoading will null out the m_response before didComplete. I think the right fix is just to remove the continueWillSendRequest and let the load be deleted.

-- 
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/20170301/85523be1/attachment-0001.html>


More information about the webkit-unassigned mailing list