WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
67674
Some cookie related tests fail on Lion
https://bugs.webkit.org/show_bug.cgi?id=67674
Summary
Some cookie related tests fail on Lion
Alexey Proskuryakov
Reported
2011-09-06 14:55:36 PDT
http/tests/security/cookies/third-party-cookie-blocking-user-action.html and http/tests/security/cookies/third-party-cookie-blocking.html fail on Lion, because of a CFNetwork bug. The issue is that even when NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain policy is used for cookies, CFNetwork allows sites that already have cookies for this domain to set more. The theory is that when a site already has a cookie for you, it can already track you, so letting it set more is OK. This policy tweak was needed for compatibility with some important site. Unfortunately, even expired cookies are taken into account in that check, so set-a-cookie.php code that makes test cookie expired is insufficient: document.cookie = "test_cookie=0; path=/; expires=Thu, 01-Jan-1970 00:00:01 GMT"; This is tracked as a CFNetwork bug <
rdar://problem/10080130
>, but we should add a workaround, or skip tests. I think that I have a workaround.
Attachments
proposed fix
(3.57 KB, patch)
2011-09-06 15:02 PDT
,
Alexey Proskuryakov
mrowe
: review+
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2011-09-06 15:02:50 PDT
Created
attachment 106495
[details]
proposed fix
jochen
Comment 2
2011-09-06 15:06:24 PDT
the work around looks good to me
Jessie Berlin
Comment 3
2011-09-07 10:06:33 PDT
Comment on
attachment 106495
[details]
proposed fix unofficial r=me!
WebKit Review Bot
Comment 4
2011-09-08 09:55:28 PDT
Comment on
attachment 106495
[details]
proposed fix Rejecting
attachment 106495
[details]
from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: name: third_party/ots url: From('chromium_deps', 'src/third_party/ots') should_process: True requirements: set(['third_party', 'chromium_deps', './']) name: third_party/snappy/src url: From('chromium_deps', 'src/third_party/snappy/src') should_process: True requirements: set(['third_party', 'chromium_deps', './']) Died at Tools/Scripts/update-webkit-chromium line 80. No such file or directory at /mnt/git/webkit-commit-queue/Tools/Scripts/webkitdirs.pm line 1929. Full output:
http://queues.webkit.org/results/9622245
Alexey Proskuryakov
Comment 5
2011-09-08 10:17:45 PDT
Manually committed <
http://trac.webkit.org/changeset/94765
>.
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