Do not filter cookies requested through the CookieStorageShim.
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jun 2013 18:48:08 +0000 (18:48 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Jun 2013 18:48:08 +0000 (18:48 +0000)
commit69449fd9a736314d8913d531138a0e5cdfc8dde3
treec4f0da48a417b92d5349659f79545db6132dc466
parent97bf39bf1c5fceaeb7bfb68e94e2b2bba4f288b8
Do not filter cookies requested through the CookieStorageShim.
https://bugs.webkit.org/show_bug.cgi?id=117511
<rdar://problem/13603433>

Reviewed by Beth Dakin.

Since the shim function is called when the underlying media engine is
creating an HTTPRequest, use CookieRequestHeaderFieldValue (which does
not filter out HTTP-only cookies) rather than CookiesForDOM (which does).

* Shared/mac/CookieStorageShim.cpp:
(WebKit::webKitCookieStorageCopyRequestHeaderFieldsForURL):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/mac/CookieStorageShim.cpp