[Qt][WK2] Setting Download as action for navigation request crashes WebProcess
authorjesus@webkit.org <jesus@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Dec 2011 13:18:44 +0000 (13:18 +0000)
committerjesus@webkit.org <jesus@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Dec 2011 13:18:44 +0000 (13:18 +0000)
commitb70d4bf22e12762cc9bf6531ba7152f8c96f2c85
tree5a60c5bd3fc4176afad9a9a3fa3b16ea527bb6da
parent76d290eddbea0f1ac920b6a63eaaa4de6491ff5f
[Qt][WK2] Setting Download as action for navigation request crashes WebProcess
https://bugs.webkit.org/show_bug.cgi?id=74526

Reviewed by Simon Hausmann.

Adding checks for networkcontext and networkAccessManager
and return true in case they don't exist, following the same
logic as if the CookieJar doesn't exist.

* platform/qt/ThirdPartyCookiesQt.cpp:
(WebCore::thirdPartyCookiePolicyPermits):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/qt/ThirdPartyCookiesQt.cpp