gecko-dev/devtools/client/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 строки
811 B
JavaScript
Исходник Обычный вид История

Bug 1403895 - split main.js in mulitple files; r=ochameau. This patch keeps the main.js file so we don't have to change consumer code that uses objects fom this file. MozReview-Commit-ID: KhFoPPApE2L --HG-- rename : devtools/shared/client/main.js => devtools/shared/client/addon-client.js rename : devtools/shared/client/main.js => devtools/shared/client/array-buffer-client.js rename : devtools/shared/client/main.js => devtools/shared/client/breakpoint-client.js rename : devtools/shared/client/main.js => devtools/shared/client/constants.js rename : devtools/shared/client/main.js => devtools/shared/client/debugger-client.js rename : devtools/shared/client/main.js => devtools/shared/client/environment-client.js rename : devtools/shared/client/main.js => devtools/shared/client/event-source.js rename : devtools/shared/client/main.js => devtools/shared/client/long-string-client.js rename : devtools/shared/client/main.js => devtools/shared/client/object-client.js rename : devtools/shared/client/main.js => devtools/shared/client/property-iterator-client.js rename : devtools/shared/client/main.js => devtools/shared/client/root-client.js rename : devtools/shared/client/main.js => devtools/shared/client/source-client.js rename : devtools/shared/client/main.js => devtools/shared/client/symbol-iterator-client.js rename : devtools/shared/client/main.js => devtools/shared/client/tab-client.js rename : devtools/shared/client/main.js => devtools/shared/client/thread-client.js rename : devtools/shared/client/main.js => devtools/shared/client/trace-client.js rename : devtools/shared/client/main.js => devtools/shared/client/worker-client.js extra : rebase_source : e5f6978cb3e543af7073e234320af1f3afde356d
2017-09-28 18:29:55 +03:00
/* 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";
/**
* Set of protocol messages that affect thread state, and the
* state the actor is in after each message.
*/
const ThreadStateTypes = {
paused: "paused",
resumed: "attached",
running: "attached",
Bug 1403895 - split main.js in mulitple files; r=ochameau. This patch keeps the main.js file so we don't have to change consumer code that uses objects fom this file. MozReview-Commit-ID: KhFoPPApE2L --HG-- rename : devtools/shared/client/main.js => devtools/shared/client/addon-client.js rename : devtools/shared/client/main.js => devtools/shared/client/array-buffer-client.js rename : devtools/shared/client/main.js => devtools/shared/client/breakpoint-client.js rename : devtools/shared/client/main.js => devtools/shared/client/constants.js rename : devtools/shared/client/main.js => devtools/shared/client/debugger-client.js rename : devtools/shared/client/main.js => devtools/shared/client/environment-client.js rename : devtools/shared/client/main.js => devtools/shared/client/event-source.js rename : devtools/shared/client/main.js => devtools/shared/client/long-string-client.js rename : devtools/shared/client/main.js => devtools/shared/client/object-client.js rename : devtools/shared/client/main.js => devtools/shared/client/property-iterator-client.js rename : devtools/shared/client/main.js => devtools/shared/client/root-client.js rename : devtools/shared/client/main.js => devtools/shared/client/source-client.js rename : devtools/shared/client/main.js => devtools/shared/client/symbol-iterator-client.js rename : devtools/shared/client/main.js => devtools/shared/client/tab-client.js rename : devtools/shared/client/main.js => devtools/shared/client/thread-client.js rename : devtools/shared/client/main.js => devtools/shared/client/trace-client.js rename : devtools/shared/client/main.js => devtools/shared/client/worker-client.js extra : rebase_source : e5f6978cb3e543af7073e234320af1f3afde356d
2017-09-28 18:29:55 +03:00
};
/**
* Set of protocol messages that are sent by the server without a prior request
* by the client. This only applies to Actors for which we are not using a
* protocol.js Front and instead use DevToolsClient directly.
Bug 1403895 - split main.js in mulitple files; r=ochameau. This patch keeps the main.js file so we don't have to change consumer code that uses objects fom this file. MozReview-Commit-ID: KhFoPPApE2L --HG-- rename : devtools/shared/client/main.js => devtools/shared/client/addon-client.js rename : devtools/shared/client/main.js => devtools/shared/client/array-buffer-client.js rename : devtools/shared/client/main.js => devtools/shared/client/breakpoint-client.js rename : devtools/shared/client/main.js => devtools/shared/client/constants.js rename : devtools/shared/client/main.js => devtools/shared/client/debugger-client.js rename : devtools/shared/client/main.js => devtools/shared/client/environment-client.js rename : devtools/shared/client/main.js => devtools/shared/client/event-source.js rename : devtools/shared/client/main.js => devtools/shared/client/long-string-client.js rename : devtools/shared/client/main.js => devtools/shared/client/object-client.js rename : devtools/shared/client/main.js => devtools/shared/client/property-iterator-client.js rename : devtools/shared/client/main.js => devtools/shared/client/root-client.js rename : devtools/shared/client/main.js => devtools/shared/client/source-client.js rename : devtools/shared/client/main.js => devtools/shared/client/symbol-iterator-client.js rename : devtools/shared/client/main.js => devtools/shared/client/tab-client.js rename : devtools/shared/client/main.js => devtools/shared/client/thread-client.js rename : devtools/shared/client/main.js => devtools/shared/client/trace-client.js rename : devtools/shared/client/main.js => devtools/shared/client/worker-client.js extra : rebase_source : e5f6978cb3e543af7073e234320af1f3afde356d
2017-09-28 18:29:55 +03:00
*/
const UnsolicitedNotifications = {
networkEventUpdate: "networkEventUpdate",
Bug 1403895 - split main.js in mulitple files; r=ochameau. This patch keeps the main.js file so we don't have to change consumer code that uses objects fom this file. MozReview-Commit-ID: KhFoPPApE2L --HG-- rename : devtools/shared/client/main.js => devtools/shared/client/addon-client.js rename : devtools/shared/client/main.js => devtools/shared/client/array-buffer-client.js rename : devtools/shared/client/main.js => devtools/shared/client/breakpoint-client.js rename : devtools/shared/client/main.js => devtools/shared/client/constants.js rename : devtools/shared/client/main.js => devtools/shared/client/debugger-client.js rename : devtools/shared/client/main.js => devtools/shared/client/environment-client.js rename : devtools/shared/client/main.js => devtools/shared/client/event-source.js rename : devtools/shared/client/main.js => devtools/shared/client/long-string-client.js rename : devtools/shared/client/main.js => devtools/shared/client/object-client.js rename : devtools/shared/client/main.js => devtools/shared/client/property-iterator-client.js rename : devtools/shared/client/main.js => devtools/shared/client/root-client.js rename : devtools/shared/client/main.js => devtools/shared/client/source-client.js rename : devtools/shared/client/main.js => devtools/shared/client/symbol-iterator-client.js rename : devtools/shared/client/main.js => devtools/shared/client/tab-client.js rename : devtools/shared/client/main.js => devtools/shared/client/thread-client.js rename : devtools/shared/client/main.js => devtools/shared/client/trace-client.js rename : devtools/shared/client/main.js => devtools/shared/client/worker-client.js extra : rebase_source : e5f6978cb3e543af7073e234320af1f3afde356d
2017-09-28 18:29:55 +03:00
};
module.exports = {
ThreadStateTypes,
UnsolicitedNotifications,
};