Set the cookie acceptance policy of cookie_manager as policy.
Note that ITP has its own way to handle third-party cookies, so when it's enabled, and policy is set to webkit.types.CookieAcceptPolicy.NoThirdParty, webkit.types.CookieAcceptPolicy.Always will be used instead. Once disabled, the policy will be set back to webkit.types.CookieAcceptPolicy.NoThirdParty. See also webkit_website_data_manager_set_itp_enabled().
a #WebKitCookieAcceptPolicy
Set the cookie acceptance policy of cookie_manager as policy.
Note that ITP has its own way to handle third-party cookies, so when it's enabled, and policy is set to webkit.types.CookieAcceptPolicy.NoThirdParty, webkit.types.CookieAcceptPolicy.Always will be used instead. Once disabled, the policy will be set back to webkit.types.CookieAcceptPolicy.NoThirdParty. See also webkit_website_data_manager_set_itp_enabled().