WebKit2.CookieManager.prototype.get_domains_with_cookies

function get_domains_with_cookies(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for webkit_cookie_manager_get_domains_with_cookies()
}
  

Asynchronously get the list of domains for which cookie_manager contains cookies.

When the operation is finished, callback will be called. You can then call WebKit2.CookieManager.prototype.get_domains_with_cookies_finish to get the result of the operation.

cancellable

a Gio.Cancellable or null to ignore

callback

a Gio.AsyncReadyCallback to call when the request is satisfied