I uploaded change for review with Sec-GPC implementation (both additional header and js api), but was mentioned that the change should be approved on blin...@chromium.org first.Could you, please, help me with that?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/dcdd636b-f476-4291-883b-267b260f8d90n%40chromium.org.
Explainer https://github.com/w3c/gpc/blob/main/explainer.md
Specification https://w3c.github.io/gpc/
Summary
This proposal adds support for the Global Privacy Control (GPC) signal. GPC allows users to notify businesses of their privacy preferences, such as a request not to sell or share their personal information.
This implementation involves:
Adding a Sec-GPC HTTP request header with a value of 1 when the user has enabled the signal.
Exposing a navigator.globalPrivacyControl property in the DOM, returning true when enabled.
Blink component
Blink
Motivation
The signal is already implemented by other browsers and Chrome should catch-up with this privacy setting. This year California signed a bill under the CCPA/CPRA that obligates the browsers to provide ability to communicate do-not-sell-or-share preference before 2027.
Currently, Chrome allows to send GPC header only via an extension which may be not sufficient to be compliant with the bill.
Search tags
GPC, Global Privacy Control, Privacy, Sec-GPC
Risks
Interoperability and Compatibility
The risk is low as this is an additive feature.
Gecko: Shipped (Enabled by default in Firefox private browsing and optional in standard mode).
WebKit: Based on the info from the Internet, the signal is not yet implemented in WebKit
Web developers: Publishers are obligated to honor the signal.
Other signals: Brave, DuckDuckGo, and other privacy-focused browsers have shipped this.
Ergonomics
The feature is simple (a boolean flag). It does not introduce complex performance or ergonomic challenges. There is already a similar setting for DoNotTrack header.
Activation
Web developers can easily feature-detect navigator.globalPrivacyControl.
Security
This feature exposes a user preference, which could theoretically be used for fingerprinting. However, it is a high-entropy bit intended to be broadcast to all sites, similar to DNT (Do Not Track), but with a clearer legal framework for enforcement.
WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
No.
Debuggability
DevTools will show the Sec-GPC header in network requests and allow inspecting navigator.globalPrivacyControl in the console.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Is this feature fully tested by web-platform-tests?
No, but tests will be added as part of the prototyping process.
Flag name
--enable-blink-features=GlobalPrivacyControl
Tracking bug https://issues.chromium.org/issues/40745270
Link to entry on the Chrome Platform Status
(Not available yet, I've send a request for access to the platform)