frame-script.js 905 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /**
  2. * @fileoverview Defines the environment for frame scripts.
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. */
  8. "use strict";
  9. module.exports = {
  10. globals: {
  11. // dom/chrome-webidl/MessageManager.webidl
  12. // MessageManagerGlobal
  13. dump: false,
  14. atob: false,
  15. btoa: false,
  16. // MessageListenerManagerMixin
  17. addMessageListener: false,
  18. removeMessageListener: false,
  19. addWeakMessageListener: false,
  20. removeWeakMessageListener: false,
  21. // MessageSenderMixin
  22. sendAsyncMessage: false,
  23. processMessageManager: false,
  24. remoteType: false,
  25. // SyncMessageSenderMixin
  26. sendSyncMessage: false,
  27. // ContentFrameMessageManager
  28. content: false,
  29. docShell: false,
  30. tabEventTarget: false,
  31. },
  32. };