[webkit-changes] [WebKit/WebKit] 3f2a8e: [GTK][WPE] Add API to replace and retrieve the ent...

Przemyslaw Gorszkowski noreply at github.com
Fri Jul 7 00:33:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3f2a8e4ebeb1b855e6080f149fc234e5beae567b
      https://github.com/WebKit/WebKit/commit/3f2a8e4ebeb1b855e6080f149fc234e5beae567b
  Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M Source/WebCore/platform/network/NetworkStorageSession.h
    M Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp
    M Source/WebKit/NetworkProcess/Cookies/WebCookieManager.h
    M Source/WebKit/NetworkProcess/Cookies/WebCookieManager.messages.in
    M Source/WebKit/NetworkProcess/Cookies/soup/WebCookieManagerSoup.cpp
    M Source/WebKit/UIProcess/API/APIHTTPCookieStore.h
    M Source/WebKit/UIProcess/API/glib/WebKitCookieManager.cpp
    M Source/WebKit/UIProcess/API/glib/WebKitCookieManager.h.in
    M Source/WebKit/UIProcess/API/soup/HTTPCookieStoreSoup.cpp
    M Tools/TestWebKitAPI/Tests/WebKitGLib/TestCookieManager.cpp

  Log Message:
  -----------
  [GTK][WPE] Add API to replace and retrieve the entire cookie jar
https://bugs.webkit.org/show_bug.cgi?id=254987

Reviewed by Carlos Garcia Campos, Adrian Perez de Castro and Michael Catanzaro.

Add possibility to replace and get all cookies, from each domain via new API.

* Source/WebCore/platform/network/NetworkStorageSession.h:
* Source/WebCore/platform/network/soup/NetworkStorageSessionSoup.cpp:
(WebCore::NetworkStorageSession::setCookieJar):
* Source/WebKit/NetworkProcess/Cookies/WebCookieManager.cpp:
(WebKit::WebCookieManager::setCookieJar):
* Source/WebKit/NetworkProcess/Cookies/WebCookieManager.h:
* Source/WebKit/NetworkProcess/Cookies/WebCookieManager.messages.in:
* Source/WebKit/UIProcess/API/APIHTTPCookieStore.cpp:
(API::HTTPCookieStore::setCookieJar):
(API::HTTPCookieStore::getCookieJar):
* Source/WebKit/UIProcess/API/APIHTTPCookieStore.h:
* Source/WebKit/UIProcess/API/glib/WebKitCookieManager.cpp:
(webkit_cookie_manager_set_cookie_jar):
(webkit_cookie_manager_set_cookie_jar_finish):
(webkit_cookie_manager_get_cookie_jar):
(webkit_cookie_manager_get_cookie_jar_finish):
* Source/WebKit/UIProcess/API/glib/WebKitCookieManager.h.in:
* Tools/TestWebKitAPI/Tests/WebKitGLib/TestCookieManager.cpp:
(testCookieManagerSetGetCookieJar):
(beforeAll):

Canonical link: https://commits.webkit.org/265834@main




More information about the webkit-changes mailing list