Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D39378
This commit is contained in:
@@ -193,7 +193,8 @@ nsCString ImageCacheKey::GetTopLevelBaseDomain(Document* aDocument,
|
||||
// unique image cache per the top-level document eTLD+1.
|
||||
if (!AntiTrackingCommon::MaybeIsFirstPartyStorageAccessGrantedFor(
|
||||
aDocument->GetInnerWindow(), aURI)) {
|
||||
nsPIDOMWindowOuter* top = aDocument->GetInnerWindow()->GetScriptableTop();
|
||||
nsPIDOMWindowOuter* top =
|
||||
aDocument->GetInnerWindow()->GetInProcessScriptableTop();
|
||||
nsPIDOMWindowInner* topInner = top ? top->GetCurrentInnerWindow() : nullptr;
|
||||
if (!topInner) {
|
||||
return aDocument
|
||||
|
||||
Reference in New Issue
Block a user