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:
Kannan Vijayan
2019-07-26 16:48:31 +00:00
parent 3f2302a751
commit c690c1925f
94 changed files with 532 additions and 447 deletions

View File

@@ -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