Pier Angelo Vendrame pushed to branch tor-browser-149.0a1-16.0-2 at The Tor Project / Applications / Tor Browser Commits: a56f9bac by Pier Angelo Vendrame at 2026-04-07T18:13:53+02:00 fixup! TB 3455: Add DomainIsolator, for isolating circuit by domain. TB 44841: Handle invalid origin attributes. originAttributes should not be null, but just in case add a few more checks. - - - - - 1 changed file: - toolkit/components/tor-launcher/TorDomainIsolator.sys.mjs Changes: ===================================== toolkit/components/tor-launcher/TorDomainIsolator.sys.mjs ===================================== @@ -321,8 +321,10 @@ class TorDomainIsolatorImpl { } try { const channel = aChannel.QueryInterface(Ci.nsIChannel); - let firstPartyDomain = channel.loadInfo.originAttributes.firstPartyDomain; - const userContextId = channel.loadInfo.originAttributes.userContextId; + let firstPartyDomain = + channel.loadInfo.originAttributes?.firstPartyDomain; + const userContextId = + channel.loadInfo.originAttributes?.userContextId ?? 0; const scheme = channel.loadInfo.loadingPrincipal?.URI?.scheme; const filePath = channel.loadInfo.loadingPrincipal?.URI?.filePath; if ( @@ -375,7 +377,7 @@ class TorDomainIsolatorImpl { ); } catch (e) { logger.error("Error while setting a new proxy", e); - return null; + return aProxy; } } View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a56f9bac... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a56f9bac... 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)