tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 91cfe60f07c34ff026e8100c4be8dcbcd4999462
parent 350594fefb744453f81d77784ffb687f1a494c8e
Author: Nathan Barrett <nbarrett@mozilla.com>
Date:   Mon,  8 Dec 2025 20:25:20 +0000

Bug 2003937 - Provide browsing context to speculative connections in UrlbarUtils r=urlbar-reviewers,mcheang,adw

Speculative connections now pass the docShell with the
browsing context of the browser that initiated the connection, allowing
the network to apply proxy settings.

Differential Revision: https://phabricator.services.mozilla.com/D275292

Diffstat:
Mbrowser/components/urlbar/UrlbarUtils.sys.mjs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/browser/components/urlbar/UrlbarUtils.sys.mjs b/browser/components/urlbar/UrlbarUtils.sys.mjs @@ -772,7 +772,7 @@ export var UrlbarUtils = { Services.io.speculativeConnect( uri, window.gBrowser.contentPrincipal, - null, + window.docShell.QueryInterface(Ci.nsIInterfaceRequestor), false ); } catch (ex) {