Closed Bug 1835099 Opened 2 years ago Closed 2 years ago

Add a test that RFP is correctly applied in partitioned Service Workers

Categories

(Core :: Privacy: Anti-Tracking, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox-esr115 116+ fixed
firefox115 --- wontfix
firefox116 --- wontfix
firefox117 --- fixed

People

(Reporter: tjr, Assigned: tjr)

Details

(Whiteboard: [fpp:m5])

Attachments

(2 files, 1 obsolete file)

This code is designed to handle the case where we have only a URI and OA, and need to determine if we should exempt from RFP or not. The URI might be a subdocument underneath a top-level document (the top-level document would be the partitionKey, either mFirstPartyDomain or mPartitionKey)

AFAIK the only place we actually need this is for Service Workers - but we definitely need it. We should take an existing Service Worker test that involved partitionKeys and add an RFP check into it.

Depends on D179106

Attached file WIP: Bug 1835099: RFP Debug Logging (obsolete) —

I find myself requently rewriting a subset of these
logging statements all the time, so maybe we should
just put them in the code

Depends on D179107

Comment on attachment 9335927 [details]
WIP: Bug 1835099: RFP Debug Logging

Revision D179108 was moved to bug 1825561. Setting attachment 9335927 [details] to obsolete.

Attachment #9335927 - Attachment is obsolete: true
Assignee: nobody → tom
Attachment #9335926 - Attachment description: WIP: Bug 1835099: Check the Partition Key in both flows → Bug 1835099: Check the Partition Key in both flows r?timhuang
Status: NEW → ASSIGNED
Pushed by tritter@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/811725f84ff2 Check the Partition Key in both flows r=timhuang
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

[Tracking Requested - why for this release]: I would like to uplift this to ESR 115 for Tor Browser, so they do not have to carry the patch.

Comment on attachment 9343778 [details]
Bug 1835099: Check the Partition Key in both flows (ESR) r=timhuang

The ESR 115 Landing Order is Bug 1825561 -> Bug 1835099 -> Bug 1842678

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: This patch is needed for correct application of RFP to service workers when a domain is exempted. Otherwise
  • User impact if declined: It's necessary for Tor, so they will need to carry the patch if we don't uplift it.
  • Fix Landed on Version:
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Only affects users with RFP enabled
Attachment #9343778 - Flags: approval-mozilla-esr115?

Comment on attachment 9343778 [details]
Bug 1835099: Check the Partition Key in both flows (ESR) r=timhuang

Approved for 115.1esr.

Attachment #9343778 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Whiteboard: [fpp:m?] → [fpp:m5]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: