-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=127139 Reviewed by Brady Eidson. Source/WebCore: * platform/ios/WebCoreSystemInterfaceIOS.mm: * platform/mac/WebCoreSystemInterface.h: * platform/mac/WebCoreSystemInterface.mm: Pass first party URL down, because reading cookies depends on it when this policy in in action. * platform/network/cf/CookieJarCFNet.cpp: (WebCore::copyCookiesForURLWithFirstPartyURL): (WebCore::cookiesForDOM): (WebCore::cookieRequestHeaderFieldValue): (WebCore::cookiesEnabled): (WebCore::getRawCookies): Use a new CFNetwork API that takes first party URL. * platform/network/mac/CookieJarMac.mm: (WebCore::cookiesForDOM): (WebCore::cookieRequestHeaderFieldValue): (WebCore::cookiesEnabled): (WebCore::getRawCookies): (WebCore::deleteCookie): Pass first party URL (and null in deleteCookie, as there is none). * platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::platformLoadResourceSy...
664c7b3d