Closed Bug 1876574 Opened 8 months ago Closed 6 months ago

Add SameSite bit to partition-key origin attribute for first-party partitioning

Categories

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

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: bvandersloot, Assigned: bvandersloot)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

I think this has to be a separate task outside of what we currently have bugged out for CHIPS. This will not be used for Storage, which doesn't have a concept of first-party partitioning.

Assignee: nobody → bvandersloot
See Also: → 1879148
Blocks: 1873631

This patch is a no-op for observable functionality. All it does is add a bit to the partitionKey for OA, and then adds plumbing to be able to set it, and where it is required, sets it to false.
This is serialized identically to the absence of the bit, so nothing changes at all.

Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cc547125fda9 Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang

Looks like there was an upstream change on March 27 that caused a conflict. Rebasing, building, and trying again.

Flags: needinfo?(bvandersloot)
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/58576ed7eb22 Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang

Backed out for causing multiple failure.




Flags: needinfo?(bvandersloot)
Flags: needinfo?(bvandersloot)
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/704e94d28ad7 Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang

Backed out for causing multiple failures.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | TestStoragePrincipalHelper.TestGetPrincipalCookieBehavior5 | Value of: testPrincipal->OriginAttributesRef().mPartitionKey.EqualsLiteral( "(https,example.org)")

Wpt failures on Android: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=f00e9fde550f6ecbd0b8655d8ad34ee5f9a38770&searchStr=android%2Cwpt&selectedTaskRun=NRklJ9gCSs2amn5Lc0fN5g.0

Flags: needinfo?(bvandersloot)
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c8cda85eda3d Add SameSite bit to partition-key origin attribute for first-party partitioning - r=timhuang
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Regressions: 1897653
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: