RESOLVED FIXED 105454
[WK2 NetworkProcess] Cannot log into gmail/facebook with private browsing enabled
https://bugs.webkit.org/show_bug.cgi?id=105454
Summary [WK2 NetworkProcess] Cannot log into gmail/facebook with private browsing ena...
Alexey Proskuryakov
Reported 2012-12-19 12:25:09 PST
Cannot log into gmail/facebook with private browsing enabled. A wrong storage session is used after a redirect. This is because ResourceHandle::willSendRequest() first sets storage session, and then calls the client. NetworkProcess client in particular doesn't preserve the storage session, because it cannot be serialized for IPC. I don't think that the client should be able to change storage session, even for WebKit1, where NSURLRequest is part of API. <rdar://problem/12896478>
Attachments
proposed fix (2.47 KB, patch)
2012-12-19 12:38 PST, Alexey Proskuryakov
beidson: review+
Alexey Proskuryakov
Comment 1 2012-12-19 12:38:45 PST
Created attachment 180209 [details] proposed fix
Brady Eidson
Comment 2 2012-12-19 12:40:48 PST
Comment on attachment 180209 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=180209&action=review > Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp:565 > + // Client call may not preserve the session, especially it the request is sent over IPC. > + request.setStorageSession(d->m_storageSession.get()); s/especially it/especially if/ > Source/WebCore/platform/network/mac/ResourceHandleMac.mm:478 > + // Client call may not preserve the session, especially it the request is sent over IPC. > + request.setStorageSession(d->m_storageSession.get()); s/especially it/especially if/
Alexey Proskuryakov
Comment 3 2012-12-19 13:07:18 PST
Roger Fong
Comment 4 2012-12-20 11:44:33 PST
Alexey Proskuryakov
Comment 5 2012-12-20 12:09:45 PST
Filed bug 105563.
Note You need to log in before you can comment on or make changes to this bug.