ma1 pushed to branch mullvad-browser-115.4.0esr-13.5-1 at The Tor Project / Applications / Mullvad Browser
Commits:
-
5cb306c9
by hackademix at 2023-11-07T17:22:34+01:00
1 changed file:
Changes:
... | ... | @@ -133,12 +133,15 @@ export class NetErrorChild extends RemotePageChild { |
133 | 133 | shortDesc.appendChild(span);
|
134 | 134 | },
|
135 | 135 | };
|
136 | - |
|
137 | - Services.uriFixup.checkHost(
|
|
138 | - info.fixedURI,
|
|
139 | - onLookupCompleteListener,
|
|
140 | - this.document.nodePrincipal.originAttributes
|
|
141 | - );
|
|
136 | + try {
|
|
137 | + Services.uriFixup.checkHost(
|
|
138 | + info.fixedURI,
|
|
139 | + onLookupCompleteListener,
|
|
140 | + this.document.nodePrincipal.originAttributes
|
|
141 | + );
|
|
142 | + } catch (e) {
|
|
143 | + // DNS resolution may fail synchronously if forbidden by proxy
|
|
144 | + }
|
|
142 | 145 | }
|
143 | 146 | |
144 | 147 | // Get the header from the http response of the failed channel. This function
|