Commit c62591e4 authored by Mark Banner's avatar Mark Banner Committed by mbanner@mozilla.com
Browse files

Bug 1967618 - Add new nsresult error code to TypeScript definitions to avoid...

Bug 1967618 - Add new nsresult error code to TypeScript definitions to avoid errors when building the definitions. r=zombie

Differential Revision: https://phabricator.services.mozilla.com/D250415
parent b237f1da
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -673,6 +673,11 @@ interface nsIXPCComponents_Results {

  /** The existing UserChoice Hash was verified, but we're on an older, unsupported Windows build, so do not attempt to update the UserChoice hash. */
  NS_ERROR_WDBA_BUILD: 0x80720004;

  // Codes related to QuotaManager

  /** Client initialization attempted before origin has been initialized. */
  NS_ERROR_DOM_QM_CLIENT_INIT_ORIGIN_UNINITIALIZED: 0x80730001;
}

type nsIXPCComponents_Values = nsIXPCComponents_Results[keyof nsIXPCComponents_Results];
+2 −1
Original line number Diff line number Diff line
@@ -534,5 +534,6 @@
  "NS_SUCCESS_RESTART_APP": 7864321,
  "NS_ERROR_NOT_IN_TREE": 2155348006,
  "NS_OK_NO_NAME_CLAUSE_HANDLED": 7864354,
  "NS_ERROR_BLOCKED_BY_POLICY": 2155347971
  "NS_ERROR_BLOCKED_BY_POLICY": 2155347971,
  "NS_ERROR_DOM_QM_CLIENT_INIT_ORIGIN_UNINITIALIZED": 2155020289
}