[Webkit-unassigned] [Bug 164220] NetworkSession: Network process crash when converting main resource to download
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 31 04:40:32 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=164220
--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #2)
> Comment on attachment 293415 [details]
> Patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=293415&action=review
>
> > Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDownloads.cpp:545
> > + if (test->m_shouldDelayDecideDestination)
> > + g_usleep(0.2 * G_USEC_PER_SEC);
>
> There's no way to know when the load has been aborted? :/
No, because it's an internal abort, the load is converted to a download, which means that a Download is created to continue with the load, and the ResourceLoader is destroyed. So, the load is not actually aborted, it's the NetworkResourceLoader. The problem is that we were deleting the NetworkResourceLoader before the network load finished to become a download. From the API point of view there isn't any abort, after we decide the load is a download, we use the WebKitDownload object and forget about the loader client.
--
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/20161031/b390254c/attachment.html>
More information about the webkit-unassigned
mailing list