Verified Commit a6ed37e7 authored by owlishDeveloper's avatar owlishDeveloper Committed by ma1
Browse files

Bug 2055683 - IPC improvement a=pascalc

parent 4e27f4b0
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -159,6 +159,11 @@ bool GeckoViewContentChannelParent::Init(

  nsCOMPtr<nsIURI> uri = ipc::DeserializeURI(aArgs.uri());

  if (!uri || !uri->SchemeIs("content")) {
    rv = NS_ERROR_UNKNOWN_PROTOCOL;
    return false;
  }

  nsAutoCString remoteType;
  rv = GetRemoteType(remoteType);
  if (MOZ_UNLIKELY(NS_FAILED(rv))) {