WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
105684
[WK2] Network process should respect cookie accept policy
https://bugs.webkit.org/show_bug.cgi?id=105684
Summary
[WK2] Network process should respect cookie accept policy
Alexey Proskuryakov
Reported
2012-12-22 21:56:52 PST
Changing cookie accept policy works in normal browsing mode, because the cookie storage is shared across all processes. It does not however affect private browsing cookie storage. <
rdar://problem/12808377
>
Attachments
proposed patch
(16.36 KB, patch)
2012-12-22 22:18 PST
,
Alexey Proskuryakov
eflews.bot
: commit-queue-
Details
Formatted Diff
Diff
with non-NetworkProcess build fixes
(42.77 KB, patch)
2012-12-22 22:34 PST
,
Alexey Proskuryakov
eflews.bot
: commit-queue-
Details
Formatted Diff
Diff
more build fixes
(45.95 KB, patch)
2012-12-22 23:56 PST
,
Alexey Proskuryakov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-12-22 22:18:17 PST
Created
attachment 180614
[details]
proposed patch One part I'm not quite sure about is handling WebCookieManagerProxy messages from NetworkProcess. But it seems reasonable to have the code match WebProcess.
WebKit Review Bot
Comment 2
2012-12-22 22:20:09 PST
Attachment 180614
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/NetworkProcess/NetworkProce..." exit_code: 1 Source/WebKit2/UIProcess/WebCookieManagerProxy.cpp:63: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Source/WebKit2/WebProcess/Cookies/WebCookieManager.cpp:86: Should have only a single space after a punctuation in a comment. [whitespace/comments] [5] Total errors found: 2 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
EFL EWS Bot
Comment 3
2012-12-22 22:21:47 PST
Comment on
attachment 180614
[details]
proposed patch
Attachment 180614
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/15452987
Early Warning System Bot
Comment 4
2012-12-22 22:23:41 PST
Comment on
attachment 180614
[details]
proposed patch
Attachment 180614
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/15456969
Alexey Proskuryakov
Comment 5
2012-12-22 22:34:08 PST
Created
attachment 180615
[details]
with non-NetworkProcess build fixes
EFL EWS Bot
Comment 6
2012-12-22 22:37:42 PST
Comment on
attachment 180615
[details]
with non-NetworkProcess build fixes
Attachment 180615
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/15490108
Early Warning System Bot
Comment 7
2012-12-22 22:40:52 PST
Comment on
attachment 180615
[details]
with non-NetworkProcess build fixes
Attachment 180615
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/15458966
kov's GTK+ EWS bot
Comment 8
2012-12-22 22:49:22 PST
Comment on
attachment 180615
[details]
with non-NetworkProcess build fixes
Attachment 180615
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/15456975
Alexey Proskuryakov
Comment 9
2012-12-22 23:56:28 PST
Created
attachment 180616
[details]
more build fixes
WebKit Review Bot
Comment 10
2012-12-23 00:41:34 PST
Comment on
attachment 180616
[details]
more build fixes
Attachment 180616
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/15495019
New failing tests: inspector-protocol/debugger-terminate-dedicated-worker-while-paused.html
Alexey Proskuryakov
Comment 11
2012-12-23 01:05:41 PST
The failing chromium test can't be related. This is ready for review.
Sam Weinig
Comment 12
2012-12-23 14:51:17 PST
Comment on
attachment 180616
[details]
more build fixes View in context:
https://bugs.webkit.org/attachment.cgi?id=180616&action=review
> Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp:117 > + if (m_webContext->dispatchMessage(connection, messageID, decoder)) > + return;
Instead of doing this, the WebContext should be registered as a message receiver in the messageReceiverMap.
Sam Weinig
Comment 13
2012-12-23 15:59:08 PST
(In reply to
comment #12
)
> (From update of
attachment 180616
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=180616&action=review
> > > Source/WebKit2/UIProcess/Network/NetworkProcessProxy.cpp:117 > > + if (m_webContext->dispatchMessage(connection, messageID, decoder)) > > + return; > > Instead of doing this, the WebContext should be registered as a message receiver in the messageReceiverMap.
Um, nevermind. That won't work. Carry on.
WebKit Review Bot
Comment 14
2012-12-23 17:30:58 PST
Comment on
attachment 180616
[details]
more build fixes Clearing flags on attachment: 180616 Committed
r138427
: <
http://trac.webkit.org/changeset/138427
>
WebKit Review Bot
Comment 15
2012-12-23 17:31:03 PST
All reviewed patches have been landed. Closing bug.
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