Closed Bug 1555861 Opened 6 months ago Closed 5 months ago

Make devtools storage.js module use storage principal

Categories

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

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: ehsan, Assigned: ehsan)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

There are various places inside https://searchfox.org/mozilla-central/source/devtools/server/actors/storage.js where nodePrincipal is accessed. Those should be switched with storage principal.

Storage principal is the principal used for the storage area of a document,
as well as when trying to communicate to other same-origin document instances.
Right now the default is for the storage principal to be equal to the node
principal for all documents, but in the dynamic FPI feature (bug 1549587)
the storage principal for third-party documents will have a member of its
origin attributes set to the eTLD+1 of the domain of the top-level document
in order to 'partition' third-party data across top-level documents from
different sites.

This patch moves the devtools storage actor to use the storage principal
so that when dynamic FPI is enabled, devtools uses the correct principal.

Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f9a6c7aa2f76
Make devtools storage.js module use storage principal; r=miker
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.