Commit f9147037 authored by ma1's avatar ma1 Committed by Pier Angelo Vendrame
Browse files

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

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

    try {
      Services.uriFixup.checkHost(
      Services.uriFixup.checkHost(
        info.fixedURI,
        info.fixedURI,
        onLookupCompleteListener,
        onLookupCompleteListener,
        this.document.nodePrincipal.originAttributes
        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
  // Get the header from the http response of the failed channel. This function