mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
browser(webkit): block 3rd party cookies by default (#2088)
This commit is contained in:
parent
bb13a329f0
commit
c62cb78c7a
@ -1 +1 @@
|
||||
1215
|
||||
1216
|
||||
|
@ -5507,6 +5507,19 @@ index 545c28e62f72771de5f3f3e9fed2e8cf6147ed0f..a6fc5f5b3fc62adce2604821bd29f9ae
|
||||
const void* keys[] = {
|
||||
kCFStreamSSLPeerName,
|
||||
kCFStreamSSLLevel,
|
||||
diff --git a/Source/WebCore/platform/network/curl/CookieJarDB.h b/Source/WebCore/platform/network/curl/CookieJarDB.h
|
||||
index 112f632128b1aa72b4639b62a3eb5a79e37c5f80..0ba51dfb3f80ce0cc09ba9065fd5ed7c9588d931 100644
|
||||
--- a/Source/WebCore/platform/network/curl/CookieJarDB.h
|
||||
+++ b/Source/WebCore/platform/network/curl/CookieJarDB.h
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
WEBCORE_EXPORT ~CookieJarDB();
|
||||
|
||||
private:
|
||||
- CookieAcceptPolicy m_acceptPolicy { CookieAcceptPolicy::Always };
|
||||
+ CookieAcceptPolicy m_acceptPolicy { CookieAcceptPolicy::OnlyFromMainDocumentDomain };
|
||||
String m_databasePath;
|
||||
|
||||
bool m_detectedDatabaseCorruption { false };
|
||||
diff --git a/Source/WebCore/platform/network/curl/CurlStream.cpp b/Source/WebCore/platform/network/curl/CurlStream.cpp
|
||||
index 26dc7bef4b74bc6b4e2e526dec6523c3ad6d3643..c783aa5a7984f3966312e5e0ffd76f93ed6208f8 100644
|
||||
--- a/Source/WebCore/platform/network/curl/CurlStream.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user