WebKitCookieManager::changed : which cookie?

Hello,

Since WebKit 4 (I think) it’s impossible to get the Soup session from the webkitgtk context. The SoupSession provided the following callback : (doc here)

void changed (
  SoupCookieJar* jar,
  SoupCookie* old_cookie,
  SoupCookie* new_cookie
)

But it is no longer possible to use it, as I understand. The WebKitCookieManager offers : (doc here)

void changed (
  WebKitCookieManager* self,
  gpointer user_data
)

It is unpractical to be notified on a cookie change without knowing which cookie is at stake, for instance when synchronizing two cookie layers. I don’t have any solution apart keeping a snapshot cache manually.

Is there another option?

Thanks,

Ashley

(The primary challenge here is that the SoupSession lives in the WebKitNetworkProcess, and apps do not have access to the network process.)