Skip to content
Snippets Groups Projects
Verified Commit 7e637a11 authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

BB 42194: Fix blank net error page on failed DNS resolution with active proxy.

parent 41d4938d
No related branches found
No related tags found
1 merge request!1327TB 43387: Rebased Tor Browser alpha onto 128.6.0esr
......@@ -133,12 +133,15 @@ export class NetErrorChild extends RemotePageChild {
shortDesc.appendChild(span);
},
};
Services.uriFixup.checkHost(
info.fixedURI,
onLookupCompleteListener,
this.document.nodePrincipal.originAttributes
);
try {
Services.uriFixup.checkHost(
info.fixedURI,
onLookupCompleteListener,
this.document.nodePrincipal.originAttributes
);
} catch (e) {
// DNS resolution may fail synchronously if forbidden by proxy
}
}
// Get the header from the http response of the failed channel. This function
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment