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 fixup! BB 44801: Redact onion origins from Location.ancestorOrigins. No bug: Fix a typo in a call. - - - - - 1 changed file: - docshell/base/CanonicalBrowsingContext.cpp Changes: ===================================== docshell/base/CanonicalBrowsingContext.cpp ===================================== @@ -3710,9 +3710,9 @@ void CanonicalBrowsingContext::CreateRedactedAncestorOriginsList( // origin is not same origin with innerDoc's origin, then set masked to // true. masked = true; - } else if (redactOnions && ancestorWGP->DocumentPricipal()->GetIsOnion() && + } else if (redactOnions && ancestorWGP->DocumentPrincipal()->GetIsOnion() && !ancestorWGP->DocumentPrincipal()->Equals( - aThisDocumentPrincipal)) { + aThisDocumentPrincipal)) { // Tor-specific, not in spec: // mask parent origin if it's an onion it's different than this document's. masked = true; @@ -3735,7 +3735,7 @@ void CanonicalBrowsingContext::CreateRedactedAncestorOriginsList( // Tor-specific, not in spec: // Redact any ancestor onion origin different than this document's origin. if (redactOnions && ancestorOrigin && ancestorOrigin->GetIsOnion() && - !ancestorOrigin->Equals(aThisDocumentPrincipal)) { + !ancestorOrigin->Equals(aThisDocumentPrincipal)) { ancestorPrincipals.AppendElement(nullptr); continue; } View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/8209... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/8209... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
Pier Angelo Vendrame (@pierov)