Closed Bug 1864652 Opened 1 year ago Closed 1 year ago

Add support for Global Privacy Control Preferences in GeckoView Runtime

Categories

(GeckoView :: General, task, P1)

All
Android
task

Tracking

(firefox122 fixed)

RESOLVED FIXED
Future
Tracking Status
firefox122 --- fixed

People

(Reporter: mcarare, Assigned: mcarare)

References

Details

(Whiteboard: [foundation] [fxdroid])

Attachments

(1 file)

There are 3 Gecko preferences that need to be exposed on the GeckoView runtime to support GPC, including:

privacy.globalprivacycontrol.enabled and
privacy.globalprivacycontrol.pbmode.enabled and
privacy.globalprivacycontrol.functionality.enabled

Details here: https://blog.mozilla.org/netpolicy/2021/10/28/implementing-global-privacy-control/

According to the specifications available at this moment, GPC should be enabled by default in private browsing ( Focus + Fenix PB). This should likely be cobtrolled in the client apps rather than in GeckoView.

Whiteboard: [foundation] [fxdroid]
Status: NEW → ASSIGNED
Component: Privacy → General
Product: Fenix → GeckoView
Target Milestone: --- → Future
Blocks: 1865357
Pushed by mcarare@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0179fa4a38ea Expose settings for Global Privacy Control. r=geckoview-reviewers,ohall,amejiamarmol

Backed out for causing globalPrivacyControl related failures

Backout link

Push with failures

Failure log

Flags: needinfo?(mcarare)

Added changes in dom/workers/test/navigator_worker.js for fixing the failing tests. Ran the failing tests on the patch and they passed without errors.
I only half understand the initial intention for adding the android exceptions so I am tagging the original author in order to confirm those changes. Thanks in advance!

Flags: needinfo?(mcarare) → needinfo?(bvandersloot)

I r+'d on Phabricator. Thanks for tagging me in!

Flags: needinfo?(bvandersloot)
Pushed by mcarare@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b11b486b43c8 Expose settings for Global Privacy Control. r=geckoview-reviewers,ohall,amejiamarmol,bvandersloot,emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
See Also: → 1848953
Blocks: support-gpc
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: