set_accept_policy
Description:
Set the cookie acceptance policy of this 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_cookie_policy_accept_no_third_party, webkit_cookie_policy_accept_always
will be used instead. Once disabled, the policy will be set back to
webkit_cookie_policy_accept_no_third_party. See also webkit_website_data_manager_set_itp_enabled
.
Parameters:
this | |
policy |