Closed Bug 1905289 Opened 3 months ago Closed 3 months ago

The subresource loads for ABA context should be keyed with foreign ancestor bit

Categories

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

task

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: timhuang, Assigned: bvandersloot)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We don't apply the foreign ancestor bit when loading subresource loads for ABA contexts. Considering the following case,

example.com-(embeds)->third-party.com-(subresource load)->example.com

The subresource is keyed by example.com, but not example.com,f (I ignore the scheme here). We should apply the foreign ancestor bit to the subresource load in this case.

Flags: needinfo?(bvandersloot)

I have a patch with tests coming now...

Kicking off a try run to be certain too.

Flags: needinfo?(bvandersloot)
Assignee: nobody → bvandersloot
Status: NEW → ASSIGNED
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1b7e3b44a1a1 The subresource loads for ABA context should be keyed with foreign ancestor bit - r=timhuang,anti-tracking-reviewers

Backed out for causing mochitests failures in test_CrossSiteXHR_cache.html.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | dom/security/test/cors/test_CrossSiteXHR_cache.html | should have failed in test for {"pass":0,"method":"GET","headers":{"x-my-header":"myValue","y-my-header":"second"}} (index 8) - got false, expected true
Flags: needinfo?(bvandersloot)
Backout by nfay@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/deb04f42bc8d Backed out changeset 1b7e3b44a1a1 for causing mochitests failures in test_CrossSiteXHR_cache.html.
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7e90e7d21561 The subresource loads for ABA context should be keyed with foreign ancestor bit - r=timhuang,anti-tracking-reviewers

Fixing that test. I thought I fixed it already from a try run. Sorry sheriff!

Flags: needinfo?(bvandersloot)
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Regressions: 1908629
Regressions: 1908957
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: