WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 61255
[Windows] Initial Cookie Accept Policy not set on Deserialized Storage Session
https://bugs.webkit.org/show_bug.cgi?id=61255
Summary
[Windows] Initial Cookie Accept Policy not set on Deserialized Storage Session
Jessie Berlin
Reported
2011-05-22 16:46:48 PDT
<
rdar://problem/9483885
>
Attachments
Patch
(2.66 KB, patch)
2011-05-22 16:55 PDT
,
Jessie Berlin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jessie Berlin
Comment 1
2011-05-22 16:55:46 PDT
Created
attachment 94357
[details]
Patch
Darin Adler
Comment 2
2011-05-22 22:08:09 PDT
Comment on
attachment 94357
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=94357&action=review
> Source/WebKit2/WebProcess/win/WebProcessWin.cpp:144 > + WebCookieManager::shared().setHTTPCookieAcceptPolicy(parameters.initialHTTPCookieAcceptPolicy);
Moving this one line up seems like the bug fix. The other changes seem OK, but I don’t see why they have to go along with this bug fix in the same patch. They could be done separately before or after.
> Source/WebKit2/WebProcess/win/WebProcessWin.cpp:147 > + // By using the default storage session that came from the UI Process, the Web Process > + // automatically use the same the URL Cache as UI Process.
I suggest not capitalizing terms such as “web process”. Also, the second line should read: // automatically uses the same URL cache as the UI process.
Darin Adler
Comment 3
2011-05-22 22:08:25 PDT
r=me whether you decide to break this up in pieces or not
Jessie Berlin
Comment 4
2011-05-23 10:14:57 PDT
(In reply to
comment #2
)
> (From update of
attachment 94357
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=94357&action=review
> > > Source/WebKit2/WebProcess/win/WebProcessWin.cpp:144 > > + WebCookieManager::shared().setHTTPCookieAcceptPolicy(parameters.initialHTTPCookieAcceptPolicy); > > Moving this one line up seems like the bug fix. The other changes seem OK, but I don’t see why they have to go along with this bug fix in the same patch. They could be done separately before or after.
It is true they could be done separately, but I without them the code with my change is harder to read (which was my motivation for making those changes now). I think I am going to keep them (per your other comment) for that reason.
> > > Source/WebKit2/WebProcess/win/WebProcessWin.cpp:147 > > + // By using the default storage session that came from the UI Process, the Web Process > > + // automatically use the same the URL Cache as UI Process. > > I suggest not capitalizing terms such as “web process”. Also, the second line should read: > > // automatically uses the same URL cache as the UI process.
Fixed. Thanks for the review!
Jessie Berlin
Comment 5
2011-05-23 10:36:24 PDT
Comment on
attachment 94357
[details]
Patch Committed in
http://trac.webkit.org/changeset/87077
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