Commit ac50cc61 authored by ma1's avatar ma1 Committed by clairehurst
Browse files

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

parent 10f321e6
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -133,12 +133,15 @@ export class NetErrorChild extends RemotePageChild {
        shortDesc.appendChild(span);
      },
    };

    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