Pier Angelo Vendrame pushed to branch mullvad-browser-149.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
-
8209bac2
by Pier Angelo Vendrame at 2026-03-31T20:08:42+02:00
1 changed file:
Changes:
| ... | ... | @@ -3710,9 +3710,9 @@ void CanonicalBrowsingContext::CreateRedactedAncestorOriginsList( |
| 3710 | 3710 | // origin is not same origin with innerDoc's origin, then set masked to
|
| 3711 | 3711 | // true.
|
| 3712 | 3712 | masked = true;
|
| 3713 | - } else if (redactOnions && ancestorWGP->DocumentPricipal()->GetIsOnion() &&
|
|
| 3713 | + } else if (redactOnions && ancestorWGP->DocumentPrincipal()->GetIsOnion() &&
|
|
| 3714 | 3714 | !ancestorWGP->DocumentPrincipal()->Equals(
|
| 3715 | - aThisDocumentPrincipal)) {
|
|
| 3715 | + aThisDocumentPrincipal)) {
|
|
| 3716 | 3716 | // Tor-specific, not in spec:
|
| 3717 | 3717 | // mask parent origin if it's an onion it's different than this document's.
|
| 3718 | 3718 | masked = true;
|
| ... | ... | @@ -3735,7 +3735,7 @@ void CanonicalBrowsingContext::CreateRedactedAncestorOriginsList( |
| 3735 | 3735 | // Tor-specific, not in spec:
|
| 3736 | 3736 | // Redact any ancestor onion origin different than this document's origin.
|
| 3737 | 3737 | if (redactOnions && ancestorOrigin && ancestorOrigin->GetIsOnion() &&
|
| 3738 | - !ancestorOrigin->Equals(aThisDocumentPrincipal)) {
|
|
| 3738 | + !ancestorOrigin->Equals(aThisDocumentPrincipal)) {
|
|
| 3739 | 3739 | ancestorPrincipals.AppendElement(nullptr);
|
| 3740 | 3740 | continue;
|
| 3741 | 3741 | }
|