Changeset 230981 in webkit
- Timestamp:
- Apr 24, 2018 8:28:25 PM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r230978 r230981 1 2018-04-24 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 Implement Same-Site cookies 4 https://bugs.webkit.org/show_bug.cgi?id=159464 5 <rdar://problem/27196358> 6 7 Unreviewed build fix. 8 9 WinCairo WebKit2 can't compile since r230921. 10 11 * NetworkProcess/curl/NetworkDataTaskCurl.cpp: 12 (WebKit::NetworkDataTaskCurl::appendCookieHeader): 13 CookieJarCurlDatabase::cookieRequestHeaderFieldValue needs 14 SameSiteInfo. 15 1 16 2018-04-24 Simon Fraser <simon.fraser@apple.com> 2 17 -
trunk/Source/WebKit/NetworkProcess/curl/NetworkDataTaskCurl.cpp
r230551 r230981 35 35 #include <WebCore/NotImplemented.h> 36 36 #include <WebCore/ResourceError.h> 37 #include <WebCore/SameSiteInfo.h> 37 38 38 39 using namespace WebCore; … … 380 381 const auto& cookieJar = storageSession.cookieStorage(); 381 382 auto includeSecureCookies = request.url().protocolIs("https") ? IncludeSecureCookies::Yes : IncludeSecureCookies::No; 382 auto cookieHeaderField = cookieJar.cookieRequestHeaderFieldValue(storageSession, request.firstPartyForCookies(), request.url(), std::nullopt, std::nullopt, includeSecureCookies).first;383 auto cookieHeaderField = cookieJar.cookieRequestHeaderFieldValue(storageSession, request.firstPartyForCookies(), WebCore::SameSiteInfo::create(request), request.url(), std::nullopt, std::nullopt, includeSecureCookies).first; 383 384 if (!cookieHeaderField.isEmpty()) 384 385 request.addHTTPHeaderField(HTTPHeaderName::Cookie, cookieHeaderField);
Note: See TracChangeset
for help on using the changeset viewer.