Check if loadInfo->GetTopLevelPrincipal in IsFirstPartyStorageAccessGrantedFor works in Fission mode
Categories
(Core :: Privacy: Anti-Tracking, task, P1)
Tracking
()
Fission Milestone | M6a |
People
(Reporter: dimi, Unassigned)
References
Details
We use loadInfo->GetTopLevelPrincipal to get top-level principal in IsFirstPartyStorageAccessGrantedFor.
We need to check if this API is currently fission compatible
Comment 1•4 years ago
|
||
See Bug 1587743 Comment 3, this probably work in Fission. But see Bug 1587743 comment 6, this could change in the future since this behavior is considered buggy in Fission.
Comment 2•4 years ago
|
||
Tracking for Fission dogfooding (M5)
IIUC, this bug depends on Anny's fix for TYPE_DOCUMENT bug 1594529.
Reporter | ||
Updated•4 years ago
|
Comment 3•4 years ago
•
|
||
Tracking for Fission Nightly (M6). This bug doesn't need to block M5 Dogfooding.
Nika says GetTopLevelPrincipal() probably will work here as-is, but it won't work early during the life cycle. mwoodrow filed a bug to delay setting loadInfo until we have all the information to fully initialize it.
Reporter | ||
Comment 5•4 years ago
|
||
We have replaced all the places using toplevelWindow in IsFirstPartyStorageAccessGrantedFor (the new naming is ShouldAllowAccessFor).
We can close this bug now.
Description
•