9999999-port1920463-remote-sandboxer-suite-bustage.patch 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. # HG changeset patch
  2. # User Bill Gianopoulos <wgianopoulos@gmail.com>
  3. # Date 1729157842 0
  4. Bug 9999999 - Port bug 1920463 to suite.
  5. Bug 1920463 - Remove RemoteSandboxBroker and AbstractSandboxBroker.
  6. diff --git a/suite/app/nsSuiteApp.cpp b/suite/app/nsSuiteApp.cpp
  7. --- a/suite/app/nsSuiteApp.cpp
  8. +++ b/suite/app/nsSuiteApp.cpp
  9. @@ -343,21 +343,16 @@ int main(int argc, char* argv[], char* e
  10. childData.sandboxTargetServices =
  11. mozilla::sandboxing::GetInitializedTargetServices();
  12. if (!childData.sandboxTargetServices) {
  13. return 1;
  14. }
  15. childData.ProvideLogFunction = mozilla::sandboxing::ProvideLogFunction;
  16. }
  17. -
  18. - if (GetGeckoProcessType() == GeckoProcessType_RemoteSandboxBroker) {
  19. - childData.sandboxBrokerServices =
  20. - mozilla::sandboxing::GetInitializedBrokerServices();
  21. - }
  22. # endif
  23. rv = gBootstrap->XRE_InitChildProcess(argc, argv, &childData);
  24. // InitXPCOMGlue calls NS_LogInit, so we need to balance it here.
  25. gBootstrap->NS_LogTerm();
  26. return NS_FAILED(rv) ? 1 : 0;