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

@@ -197,9 +197,9 @@ ThirdPartyUtil::IsThirdPartyWindow(mozIDOMWindowProxy* aWindow, nsIURI* aURI,
nsPIDOMWindowOuter* current = nsPIDOMWindowOuter::From(aWindow);
do {
// We use GetScriptableParent rather than GetParent because we consider
// <iframe mozbrowser> to be a top-level frame.
nsPIDOMWindowOuter* parent = current->GetScriptableParent();
// We use GetInProcessScriptableParent rather than GetParent because we
// consider <iframe mozbrowser> to be a top-level frame.
nsPIDOMWindowOuter* parent = current->GetInProcessScriptableParent();
// We don't use SameCOMIdentity here since we know that nsPIDOMWindowOuter
// is only implemented by nsGlobalWindowOuter, so different objects of that
// type will not have different nsISupports COM identities, and checking the