[Webkit-unassigned] [Bug 126129] [GTK] Test /webkit2/WebKitWebView/authentication-cancel fails with network process enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 9 10:17:38 PST 2014


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


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #220153|review?                     |review+
               Flag|                            |




--- Comment #5 from Alexey Proskuryakov <ap at webkit.org>  2014-01-09 10:15:21 PST ---
(From update of attachment 220153)
View in context: https://bugs.webkit.org/attachment.cgi?id=220153&action=review

> Source/WebKit2/ChangeLog:3
> +        [GTK] Test /webkit2/WebKitWebView/authentication-cancel fails with network process enabled

This patch is cross-platform, please remove "[GTK]" here and from the bug title.

> Source/WebKit2/NetworkProcess/NetworkResourceLoader.cpp:174
> +void NetworkResourceLoader::cancel()

I'm not a fan of this function. It looks like someone tells NetworkResourceLoader to cancel, but this is not what it is - it implements what needs to be done in two places where NetworkResourceLoader decides to cancel the load on its own, based on indirect hints. In other future places where NetworkResourceLoader decides to cancel, it may need to do something else.

I would have just put the code inline, not factoring it out into a cancel() function. But at the very least, the function should be private, not public.

-- 
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