summaryrefslogtreecommitdiffstats
path: root/tools/lint/eslint/eslint-plugin-mozilla/lib/environments/process-script.js
blob: f329a6650ba448442de278ad56f457b7357dd8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
 * @fileoverview Defines the environment for process scripts.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

"use strict";

module.exports = {
  globals: {
    // dom/chrome-webidl/MessageManager.webidl

    // MessageManagerGlobal
    dump: false,
    atob: false,
    btoa: false,

    // MessageListenerManagerMixin
    addMessageListener: false,
    removeMessageListener: false,
    addWeakMessageListener: false,
    removeWeakMessageListener: false,

    // MessageSenderMixin
    sendAsyncMessage: false,
    processMessageManager: false,
    remoteType: false,

    // SyncMessageSenderMixin
    sendSyncMessage: false,

    // ContentProcessMessageManager
    initialProcessData: false,
    sharedData: false,
  },
};