Closed Bug 1831265 Opened 3 years ago Closed 3 years ago

The fingerprinting randomization key doesn't properly inherit to a javascript: URL document

Categories

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

defect

Tracking

()

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: timhuang, Assigned: timhuang)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

See Document::CookieJarSettings(), we don't propagate the random key in the case where we need to create a cookieJarSettings from the parent document. This will end up with that the javascript URL document won't have a random key so the fingerprinting randomization won't work there.

Assignee: nobody → tihuang
Status: NEW → ASSIGNED

There are some cases that we need to create cookieJarSettings from the
parent document, such as Javascript URL document. We need to inherit the
random key from the parent document to properly propagate the key to the
javascript URL document.

This patch implements the inheritance of the random key and add a test
for it.

Pushed by tihuang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bfd5fb128877 Inherit fingerprinting random key from the parent document when creating cookieJarSettings in a document. r=pbz
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: