Backed out 14 changesets (bug 1865005, bug 1864168, bug 1864155, bug 1862814, bug...
[gecko.git] / devtools / client / constants.js
blob37acfa214eb7a6ad5fe4a2d0896d7ca50859dd36
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 "use strict";
7 /**
8  * Set of protocol messages that affect thread state, and the
9  * state the actor is in after each message.
10  */
11 const ThreadStateTypes = {
12   paused: "paused",
13   resumed: "attached",
14   running: "attached",
17 /**
18  * Set of protocol messages that are sent by the server without a prior request
19  * by the client. This only applies to Actors for which we are not using a
20  * protocol.js Front and instead use DevToolsClient directly.
21  */
22 const UnsolicitedNotifications = {
23   networkEventUpdate: "networkEventUpdate",
26 module.exports = {
27   ThreadStateTypes,
28   UnsolicitedNotifications,