specific.js 930 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * @fileoverview Defines the environment for the Firefox browser. Allows global
  3. * variables which are non-standard and specific to Firefox.
  4. *
  5. * This Source Code Form is subject to the terms of the Mozilla Public
  6. * License, v. 2.0. If a copy of the MPL was not distributed with this
  7. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  8. */
  9. "use strict";
  10. module.exports = {
  11. globals: {
  12. Cc: false,
  13. ChromeUtils: false,
  14. Ci: false,
  15. Components: false,
  16. Cr: false,
  17. Cu: false,
  18. Debugger: false,
  19. InstallTrigger: false,
  20. // https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/InternalError
  21. InternalError: true,
  22. Services: false,
  23. // https://developer.mozilla.org/docs/Web/API/Window/dump
  24. dump: true,
  25. openDialog: false,
  26. // https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/uneval
  27. uneval: false,
  28. },
  29. };