WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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
Committed <
http://trac.webkit.org/changeset/138191
>.
Roger Fong
Comment 4
2012-12-20 11:44:33 PST
It looks like this causes 12 test cases on Win7 to crash:
http://build.webkit.org/results/Apple%20Win%207%20Release%20(Tests)/r138191%20(31080)/results.html
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.
Top of Page
Format For Printing
XML
Clone This Bug