Enumeration
WebKitGlobalPrivacyControlPolicy
unstable since: 2.56
Description [src]
Values used to specify how the Global Privacy Control signal is applied on navigations.
The policy is configured using the WebKitWebsitePolicies:global-privacy-control
property. It applies to main frame navigations, and is inherited by subframes
and subrequests. Setting a different policy for subframes or subrequests
is ignored.
See also
Available since: 2.56
Members
-
WEBKIT_GLOBAL_PRIVACY_CONTROL_POLICY_UNSET -
Do not configure Global Privacy Control. The
Sec-GPCrequest header is not set andnavigator.globalPrivacyControlis undefined.- Value:
0 - Available since: 2.56
- Value:
-
WEBKIT_GLOBAL_PRIVACY_CONTROL_POLICY_ENABLED -
Enable Global Privacy Control. Both
navigator.globalPrivacyControland theSec-GPC: 1request header are set for the main frame, its subframes, and their subresources. The header is sent to secure origins: local addresses, and secure URI schemes (like HTTPS). (seewebkit_web_context_register_uri_scheme()).- Value:
1 - Available since: 2.56
- Value:
-
WEBKIT_GLOBAL_PRIVACY_CONTROL_POLICY_DISABLED -
Explicitly disable Global Privacy Control. The
Sec-GPCrequest header is not set andnavigator.globalPrivacyControlis set tofalse.- Value:
2 - Available since: 2.56
- Value: