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/. */
10 } = require("resource://devtools/client/webconsole/constants.js");
12 exports.ConsoleCommand = function (props) {
16 allowRepeating: false,
18 source: MESSAGE_SOURCE.JAVASCRIPT,
19 type: MESSAGE_TYPE.COMMAND,
20 level: MESSAGE_LEVEL.LOG,
30 exports.ConsoleMessage = function (props) {
49 errorMessageName: null,
50 exceptionDocURL: null,
52 userProvidedStyles: null,
59 isPromiseRejection: false,
65 exports.NetworkEventMessage = function (props) {
71 level: MESSAGE_LEVEL.LOG,
75 source: MESSAGE_SOURCE.NETWORK,
76 type: MESSAGE_TYPE.LOG,
84 requestHeadersFromUploadStream: null,