WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
171365
Update NetworkStorageSession to support multiple persistent sessions and explicitly set cookie storages
https://bugs.webkit.org/show_bug.cgi?id=171365
Summary
Update NetworkStorageSession to support multiple persistent sessions and expl...
Brady Eidson
Reported
2017-04-26 22:17:20 PDT
Update NetworkStorageSession to support multiple persistent sessions and explicitly set cookie storages Also a little WK2 NetworkSessionCocoa update based on this.
Attachments
Patch
(15.35 KB, patch)
2017-04-26 22:21 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Patch
(16.29 KB, patch)
2017-04-27 00:14 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Patch
(16.38 KB, patch)
2017-04-27 00:30 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Patch
(16.44 KB, patch)
2017-04-27 08:57 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Patch
(16.42 KB, patch)
2017-04-27 10:41 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2017-04-26 22:21:19 PDT
Created
attachment 308337
[details]
Patch
Brady Eidson
Comment 2
2017-04-27 00:14:23 PDT
Created
attachment 308354
[details]
Patch
Brady Eidson
Comment 3
2017-04-27 00:30:46 PDT
Created
attachment 308357
[details]
Patch
Alex Christensen
Comment 4
2017-04-27 00:41:19 PDT
Comment on
attachment 308354
[details]
Patch Oh boy
Brady Eidson
Comment 5
2017-04-27 08:57:13 PDT
Created
attachment 308395
[details]
Patch
Brady Eidson
Comment 6
2017-04-27 09:01:49 PDT
(In reply to Alex Christensen from
comment #4
)
> Comment on
attachment 308354
[details]
> Patch > > Oh boy
It's on like Donkey Kong.
Andy Estes
Comment 7
2017-04-27 10:17:24 PDT
Comment on
attachment 308395
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=308395&action=review
> Source/WebCore/platform/network/cf/NetworkStorageSessionCFNet.cpp:65 > + auto sharedCookieStorage = adoptCF(_CFHTTPCookieStorageGetDefault(kCFAllocatorDefault));
Over IRC we confirmed that what _CFHTTPCookieStorageGetDefault() returns shouldn't be adopted.
> Source/WebCore/platform/network/cf/NetworkStorageSessionCFNet.cpp:72 > +NetworkStorageSession::NetworkStorageSession(SessionID sessionID, RetainPtr<CFURLStorageSessionRef> platformSession, RetainPtr<CFHTTPCookieStorageRef> platformCookieStorage)
These RetainPtrs could probably be rvalue references.
Brady Eidson
Comment 8
2017-04-27 10:41:18 PDT
Created
attachment 308407
[details]
Patch
Brady Eidson
Comment 9
2017-04-27 10:41:49 PDT
Will CQ+ after I finish running API tests locally (damn you EWS!)
WebKit Commit Bot
Comment 10
2017-04-27 11:40:08 PDT
Comment on
attachment 308407
[details]
Patch Clearing flags on attachment: 308407 Committed
r215883
: <
http://trac.webkit.org/changeset/215883
>
WebKit Commit Bot
Comment 11
2017-04-27 11:40:10 PDT
All reviewed patches have been landed. Closing bug.
Konstantin Tokarev
Comment 12
2017-04-27 11:46:42 PDT
Should SessionID::isEphemeral() be changed now?
Alex Christensen
Comment 13
2017-04-27 11:53:44 PDT
(In reply to Konstantin Tokarev from
comment #12
)
> Should SessionID::isEphemeral() be changed now?
That'll be done in
https://bugs.webkit.org/show_bug.cgi?id=171367
Alex Christensen
Comment 14
2017-04-28 10:16:59 PDT
http://trac.webkit.org/r215928
Radar WebKit Bug Importer
Comment 15
2017-04-28 11:13:44 PDT
<
rdar://problem/31891415
>
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