Bug 1363696 - Compute the indent of a message in the message add reducer; r=nchevobbe

MozReview-Commit-ID: EAebgUG0FTh

--HG--
extra : rebase_source : 9b08beb2a4e855d748aabd5ca68749e15c2bbd7f
This commit is contained in:
Jan Odvarko 2017-05-26 11:20:57 +02:00
Родитель c1fcfbdef9
Коммит f9e6218e28
8 изменённых файлов: 156 добавлений и 114 удалений

Просмотреть файл

@ -15,7 +15,6 @@ const {
getAllMessages, getAllMessages,
getAllMessagesUiById, getAllMessagesUiById,
getAllMessagesTableDataById, getAllMessagesTableDataById,
getAllGroupsById,
} = require("devtools/client/webconsole/new-console-output/selectors/messages"); } = require("devtools/client/webconsole/new-console-output/selectors/messages");
const { getScrollSetting } = require("devtools/client/webconsole/new-console-output/selectors/ui"); const { getScrollSetting } = require("devtools/client/webconsole/new-console-output/selectors/ui");
const MessageContainer = createFactory(require("devtools/client/webconsole/new-console-output/components/message-container").MessageContainer); const MessageContainer = createFactory(require("devtools/client/webconsole/new-console-output/components/message-container").MessageContainer);
@ -35,7 +34,6 @@ const ConsoleOutput = createClass({
autoscroll: PropTypes.bool.isRequired, autoscroll: PropTypes.bool.isRequired,
dispatch: PropTypes.func.isRequired, dispatch: PropTypes.func.isRequired,
timestampsVisible: PropTypes.bool, timestampsVisible: PropTypes.bool,
groups: PropTypes.object.isRequired,
messagesTableData: PropTypes.object.isRequired, messagesTableData: PropTypes.object.isRequired,
}, },
@ -82,16 +80,10 @@ const ConsoleOutput = createClass({
messagesUi, messagesUi,
messagesTableData, messagesTableData,
serviceContainer, serviceContainer,
groups,
timestampsVisible, timestampsVisible,
} = this.props; } = this.props;
let messageNodes = messages.map((message) => { let messageNodes = messages.map((message) => {
const parentGroups = message.groupId ? (
(groups.get(message.groupId) || [])
.concat([message.groupId])
) : [];
return ( return (
MessageContainer({ MessageContainer({
dispatch, dispatch,
@ -101,7 +93,7 @@ const ConsoleOutput = createClass({
open: messagesUi.includes(message.id), open: messagesUi.includes(message.id),
tableData: messagesTableData.get(message.id), tableData: messagesTableData.get(message.id),
autoscroll, autoscroll,
indent: parentGroups.length, indent: message.indent,
timestampsVisible, timestampsVisible,
}) })
); );
@ -137,7 +129,6 @@ function mapStateToProps(state, props) {
messagesUi: getAllMessagesUiById(state), messagesUi: getAllMessagesUiById(state),
messagesTableData: getAllMessagesTableDataById(state), messagesTableData: getAllMessagesTableDataById(state),
autoscroll: getScrollSetting(state), autoscroll: getScrollSetting(state),
groups: getAllGroupsById(state),
timestampsVisible: state.ui.timestampsVisible, timestampsVisible: state.ui.timestampsVisible,
}; };
} }

Просмотреть файл

@ -64,24 +64,22 @@ function messages(state = new MessageState(), action) {
} }
} }
let parentGroups = getParentGroups(currentGroup, groupsById);
newMessage = newMessage.withMutations(function (message) {
message.set("groupId", currentGroup);
message.set("indent", parentGroups.length);
});
return state.withMutations(function (record) { return state.withMutations(function (record) {
// Add the new message with a reference to the parent group. // Add the new message with a reference to the parent group.
record.set( record.set("messagesById", messagesById.push(newMessage));
"messagesById",
messagesById.push(newMessage.set("groupId", currentGroup))
);
if (newMessage.type === "trace") { if (newMessage.type === "trace") {
// We want the stacktrace to be open by default. // We want the stacktrace to be open by default.
record.set("messagesUiById", messagesUiById.push(newMessage.id)); record.set("messagesUiById", messagesUiById.push(newMessage.id));
} else if (isGroupType(newMessage.type)) { } else if (isGroupType(newMessage.type)) {
record.set("currentGroup", newMessage.id); record.set("currentGroup", newMessage.id);
record.set("groupsById", record.set("groupsById", groupsById.set(newMessage.id, parentGroups));
groupsById.set(
newMessage.id,
getParentGroups(currentGroup, groupsById)
)
);
if (newMessage.type === constants.MESSAGE_TYPE.START_GROUP) { if (newMessage.type === constants.MESSAGE_TYPE.START_GROUP) {
// We want the group to be open by default. // We want the group to be open by default.

Просмотреть файл

@ -26,7 +26,7 @@ stubPreparedMessages.set("console.log('foobar', 'test')", new ConsoleMessage({
"test" "test"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foobar\",\"test\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foobar\",\"test\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -36,7 +36,8 @@ stubPreparedMessages.set("console.log('foobar', 'test')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log(undefined)", new ConsoleMessage({ stubPreparedMessages.set("console.log(undefined)", new ConsoleMessage({
@ -53,7 +54,7 @@ stubPreparedMessages.set("console.log(undefined)", new ConsoleMessage({
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"undefined\"}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"undefined\"}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -63,7 +64,8 @@ stubPreparedMessages.set("console.log(undefined)", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.warn('danger, will robinson!')", new ConsoleMessage({ stubPreparedMessages.set("console.warn('danger, will robinson!')", new ConsoleMessage({
@ -78,7 +80,7 @@ stubPreparedMessages.set("console.warn('danger, will robinson!')", new ConsoleMe
"danger, will robinson!" "danger, will robinson!"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"warn\",\"level\":\"warn\",\"messageText\":null,\"parameters\":[\"danger, will robinson!\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"warn\",\"level\":\"warn\",\"messageText\":null,\"parameters\":[\"danger, will robinson!\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -88,7 +90,8 @@ stubPreparedMessages.set("console.warn('danger, will robinson!')", new ConsoleMe
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log(NaN)", new ConsoleMessage({ stubPreparedMessages.set("console.log(NaN)", new ConsoleMessage({
@ -105,7 +108,7 @@ stubPreparedMessages.set("console.log(NaN)", new ConsoleMessage({
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"NaN\"}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"NaN\"}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -115,7 +118,8 @@ stubPreparedMessages.set("console.log(NaN)", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log(null)", new ConsoleMessage({ stubPreparedMessages.set("console.log(null)", new ConsoleMessage({
@ -132,7 +136,7 @@ stubPreparedMessages.set("console.log(null)", new ConsoleMessage({
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"null\"}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"null\"}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -142,7 +146,8 @@ stubPreparedMessages.set("console.log(null)", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log('鼬')", new ConsoleMessage({ stubPreparedMessages.set("console.log('鼬')", new ConsoleMessage({
@ -157,7 +162,7 @@ stubPreparedMessages.set("console.log('鼬')", new ConsoleMessage({
"鼬" "鼬"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"鼬\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"鼬\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -167,7 +172,8 @@ stubPreparedMessages.set("console.log('鼬')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.clear()", new ConsoleMessage({ stubPreparedMessages.set("console.clear()", new ConsoleMessage({
@ -182,7 +188,7 @@ stubPreparedMessages.set("console.clear()", new ConsoleMessage({
"Console was cleared." "Console was cleared."
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"clear\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"Console was cleared.\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"clear\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"Console was cleared.\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -192,7 +198,8 @@ stubPreparedMessages.set("console.clear()", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.count('bar')", new ConsoleMessage({ stubPreparedMessages.set("console.count('bar')", new ConsoleMessage({
@ -205,7 +212,7 @@ stubPreparedMessages.set("console.count('bar')", new ConsoleMessage({
"messageText": "bar: 1", "messageText": "bar: 1",
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"debug\",\"messageText\":\"bar: 1\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"debug\",\"messageText\":\"bar: 1\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -215,7 +222,8 @@ stubPreparedMessages.set("console.count('bar')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.assert(false, {message: 'foobar'})", new ConsoleMessage({ stubPreparedMessages.set("console.assert(false, {message: 'foobar'})", new ConsoleMessage({
@ -251,7 +259,7 @@ stubPreparedMessages.set("console.assert(false, {message: 'foobar'})", new Conso
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"assert\",\"level\":\"error\",\"messageText\":null,\"parameters\":[{\"type\":\"object\",\"actor\":\"server1.conn8.child1/obj31\",\"class\":\"Object\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":1,\"preview\":{\"kind\":\"Object\",\"ownProperties\":{\"message\":{\"configurable\":true,\"enumerable\":true,\"writable\":true,\"value\":\"foobar\"}},\"ownPropertiesLength\":1,\"safeGetterValues\":{}}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"columnNumber\":27,\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"functionName\":\"triggerPacket\",\"language\":2,\"lineNumber\":1}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"assert\",\"level\":\"error\",\"messageText\":null,\"parameters\":[{\"type\":\"object\",\"actor\":\"server1.conn8.child1/obj31\",\"class\":\"Object\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":1,\"preview\":{\"kind\":\"Object\",\"ownProperties\":{\"message\":{\"configurable\":true,\"enumerable\":true,\"writable\":true,\"value\":\"foobar\"}},\"ownPropertiesLength\":1,\"safeGetterValues\":{}}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"columnNumber\":27,\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"functionName\":\"triggerPacket\",\"language\":2,\"lineNumber\":1}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": [ "stacktrace": [
{ {
"columnNumber": 27, "columnNumber": 27,
@ -269,7 +277,8 @@ stubPreparedMessages.set("console.assert(false, {message: 'foobar'})", new Conso
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log('hello \nfrom \rthe \"string world!')", new ConsoleMessage({ stubPreparedMessages.set("console.log('hello \nfrom \rthe \"string world!')", new ConsoleMessage({
@ -284,7 +293,7 @@ stubPreparedMessages.set("console.log('hello \nfrom \rthe \"string world!')", ne
"hello \nfrom \rthe \"string world!" "hello \nfrom \rthe \"string world!"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"hello \\nfrom \\rthe \\\"string world!\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"hello \\nfrom \\rthe \\\"string world!\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -294,7 +303,8 @@ stubPreparedMessages.set("console.log('hello \nfrom \rthe \"string world!')", ne
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log('úṇĩçödê țĕșť')", new ConsoleMessage({ stubPreparedMessages.set("console.log('úṇĩçödê țĕșť')", new ConsoleMessage({
@ -309,7 +319,7 @@ stubPreparedMessages.set("console.log('úṇĩçödê țĕșť')", new ConsoleMe
"úṇĩçödê țĕșť" "úṇĩçödê țĕșť"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"úṇĩçödê țĕșť\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"úṇĩçödê țĕșť\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -319,7 +329,8 @@ stubPreparedMessages.set("console.log('úṇĩçödê țĕșť')", new ConsoleMe
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.dirxml(window)", new ConsoleMessage({ stubPreparedMessages.set("console.dirxml(window)", new ConsoleMessage({
@ -346,7 +357,7 @@ stubPreparedMessages.set("console.dirxml(window)", new ConsoleMessage({
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"object\",\"actor\":\"server1.conn11.child1/obj31\",\"class\":\"Window\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":815,\"preview\":{\"kind\":\"ObjectWithURL\",\"url\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\"}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"object\",\"actor\":\"server1.conn11.child1/obj31\",\"class\":\"Window\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":815,\"preview\":{\"kind\":\"ObjectWithURL\",\"url\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\"}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -356,7 +367,8 @@ stubPreparedMessages.set("console.dirxml(window)", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log('myarray', ['red', 'green', 'blue'])", new ConsoleMessage({ stubPreparedMessages.set("console.log('myarray', ['red', 'green', 'blue'])", new ConsoleMessage({
@ -389,7 +401,7 @@ stubPreparedMessages.set("console.log('myarray', ['red', 'green', 'blue'])", new
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"myarray\",{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj32\",\"class\":\"Array\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":4,\"preview\":{\"kind\":\"ArrayLike\",\"length\":3,\"items\":[\"red\",\"green\",\"blue\"]}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"myarray\",{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj32\",\"class\":\"Array\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":4,\"preview\":{\"kind\":\"ArrayLike\",\"length\":3,\"items\":[\"red\",\"green\",\"blue\"]}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -399,7 +411,8 @@ stubPreparedMessages.set("console.log('myarray', ['red', 'green', 'blue'])", new
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log('myregex', /a.b.c/)", new ConsoleMessage({ stubPreparedMessages.set("console.log('myregex', /a.b.c/)", new ConsoleMessage({
@ -424,7 +437,7 @@ stubPreparedMessages.set("console.log('myregex', /a.b.c/)", new ConsoleMessage({
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"myregex\",{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj33\",\"class\":\"RegExp\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":1,\"displayString\":\"/a.b.c/\"}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"myregex\",{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj33\",\"class\":\"RegExp\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":1,\"displayString\":\"/a.b.c/\"}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -434,7 +447,8 @@ stubPreparedMessages.set("console.log('myregex', /a.b.c/)", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.table(['red', 'green', 'blue']);", new ConsoleMessage({ stubPreparedMessages.set("console.table(['red', 'green', 'blue']);", new ConsoleMessage({
@ -466,7 +480,7 @@ stubPreparedMessages.set("console.table(['red', 'green', 'blue']);", new Console
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"table\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj34\",\"class\":\"Array\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":4,\"preview\":{\"kind\":\"ArrayLike\",\"length\":3,\"items\":[\"red\",\"green\",\"blue\"]}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"table\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj34\",\"class\":\"Array\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":4,\"preview\":{\"kind\":\"ArrayLike\",\"length\":3,\"items\":[\"red\",\"green\",\"blue\"]}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -476,7 +490,8 @@ stubPreparedMessages.set("console.table(['red', 'green', 'blue']);", new Console
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log('myobject', {red: 'redValue', green: 'greenValue', blue: 'blueValue'});", new ConsoleMessage({ stubPreparedMessages.set("console.log('myobject', {red: 'redValue', green: 'greenValue', blue: 'blueValue'});", new ConsoleMessage({
@ -525,7 +540,7 @@ stubPreparedMessages.set("console.log('myobject', {red: 'redValue', green: 'gree
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"myobject\",{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj35\",\"class\":\"Object\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":3,\"preview\":{\"kind\":\"Object\",\"ownProperties\":{\"red\":{\"configurable\":true,\"enumerable\":true,\"writable\":true,\"value\":\"redValue\"},\"green\":{\"configurable\":true,\"enumerable\":true,\"writable\":true,\"value\":\"greenValue\"},\"blue\":{\"configurable\":true,\"enumerable\":true,\"writable\":true,\"value\":\"blueValue\"}},\"ownPropertiesLength\":3,\"safeGetterValues\":{}}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"myobject\",{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj35\",\"class\":\"Object\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":3,\"preview\":{\"kind\":\"Object\",\"ownProperties\":{\"red\":{\"configurable\":true,\"enumerable\":true,\"writable\":true,\"value\":\"redValue\"},\"green\":{\"configurable\":true,\"enumerable\":true,\"writable\":true,\"value\":\"greenValue\"},\"blue\":{\"configurable\":true,\"enumerable\":true,\"writable\":true,\"value\":\"blueValue\"}},\"ownPropertiesLength\":3,\"safeGetterValues\":{}}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":27},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -535,7 +550,8 @@ stubPreparedMessages.set("console.log('myobject', {red: 'redValue', green: 'gree
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.map('mymap')", new ConsoleMessage({ stubPreparedMessages.set("console.map('mymap')", new ConsoleMessage({
@ -573,7 +589,7 @@ stubPreparedMessages.set("console.map('mymap')", new ConsoleMessage({
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"mymap\",{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj36\",\"class\":\"Map\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":0,\"preview\":{\"kind\":\"MapLike\",\"size\":2,\"entries\":[[\"key1\",\"value1\"],[\"key2\",\"value2\"]]}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":5,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"mymap\",{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj36\",\"class\":\"Map\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":0,\"preview\":{\"kind\":\"MapLike\",\"size\":2,\"entries\":[[\"key1\",\"value1\"],[\"key2\",\"value2\"]]}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":5,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -583,7 +599,8 @@ stubPreparedMessages.set("console.map('mymap')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.trace()", new ConsoleMessage({ stubPreparedMessages.set("console.trace()", new ConsoleMessage({
@ -596,7 +613,7 @@ stubPreparedMessages.set("console.trace()", new ConsoleMessage({
"messageText": null, "messageText": null,
"parameters": [], "parameters": [],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"trace\",\"level\":\"log\",\"messageText\":null,\"parameters\":[],\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"columnNumber\":3,\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"functionName\":\"testStacktraceFiltering\",\"language\":2,\"lineNumber\":3},{\"columnNumber\":3,\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"functionName\":\"foo\",\"language\":2,\"lineNumber\":6},{\"columnNumber\":1,\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"functionName\":\"triggerPacket\",\"language\":2,\"lineNumber\":9}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":3},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"trace\",\"level\":\"log\",\"messageText\":null,\"parameters\":[],\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"columnNumber\":3,\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"functionName\":\"testStacktraceFiltering\",\"language\":2,\"lineNumber\":3},{\"columnNumber\":3,\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"functionName\":\"foo\",\"language\":2,\"lineNumber\":6},{\"columnNumber\":1,\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"functionName\":\"triggerPacket\",\"language\":2,\"lineNumber\":9}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":3},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": [ "stacktrace": [
{ {
"columnNumber": 3, "columnNumber": 3,
@ -628,7 +645,8 @@ stubPreparedMessages.set("console.trace()", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.time('bar')", new ConsoleMessage({ stubPreparedMessages.set("console.time('bar')", new ConsoleMessage({
@ -641,7 +659,7 @@ stubPreparedMessages.set("console.time('bar')", new ConsoleMessage({
"messageText": null, "messageText": null,
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"nullMessage\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"nullMessage\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -651,7 +669,8 @@ stubPreparedMessages.set("console.time('bar')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("timerAlreadyExists", new ConsoleMessage({ stubPreparedMessages.set("timerAlreadyExists", new ConsoleMessage({
@ -664,7 +683,7 @@ stubPreparedMessages.set("timerAlreadyExists", new ConsoleMessage({
"messageText": "Timer “bar” already exists.", "messageText": "Timer “bar” already exists.",
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"time\",\"level\":\"warn\",\"messageText\":\"Timer “bar” already exists.\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"time\",\"level\":\"warn\",\"messageText\":\"Timer “bar” already exists.\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -674,7 +693,8 @@ stubPreparedMessages.set("timerAlreadyExists", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.timeEnd('bar')", new ConsoleMessage({ stubPreparedMessages.set("console.timeEnd('bar')", new ConsoleMessage({
@ -687,7 +707,7 @@ stubPreparedMessages.set("console.timeEnd('bar')", new ConsoleMessage({
"messageText": "bar: 1.36ms", "messageText": "bar: 1.36ms",
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"timeEnd\",\"level\":\"log\",\"messageText\":\"bar: 1.36ms\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":4,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"timeEnd\",\"level\":\"log\",\"messageText\":\"bar: 1.36ms\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":4,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -697,7 +717,8 @@ stubPreparedMessages.set("console.timeEnd('bar')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("timerDoesntExist", new ConsoleMessage({ stubPreparedMessages.set("timerDoesntExist", new ConsoleMessage({
@ -710,7 +731,7 @@ stubPreparedMessages.set("timerDoesntExist", new ConsoleMessage({
"messageText": "Timer “bar” doesnt exist.", "messageText": "Timer “bar” doesnt exist.",
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"timeEnd\",\"level\":\"warn\",\"messageText\":\"Timer “bar” doesnt exist.\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":5,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"timeEnd\",\"level\":\"warn\",\"messageText\":\"Timer “bar” doesnt exist.\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":5,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -720,7 +741,8 @@ stubPreparedMessages.set("timerDoesntExist", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.table('bar')", new ConsoleMessage({ stubPreparedMessages.set("console.table('bar')", new ConsoleMessage({
@ -735,7 +757,7 @@ stubPreparedMessages.set("console.table('bar')", new ConsoleMessage({
"bar" "bar"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"bar\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"bar\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -745,7 +767,8 @@ stubPreparedMessages.set("console.table('bar')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.table(['a', 'b', 'c'])", new ConsoleMessage({ stubPreparedMessages.set("console.table(['a', 'b', 'c'])", new ConsoleMessage({
@ -776,7 +799,7 @@ stubPreparedMessages.set("console.table(['a', 'b', 'c'])", new ConsoleMessage({
} }
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"table\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"object\",\"class\":\"Array\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":4,\"preview\":{\"kind\":\"ArrayLike\",\"length\":3,\"items\":[\"a\",\"b\",\"c\"]}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"table\",\"level\":\"log\",\"messageText\":null,\"parameters\":[{\"type\":\"object\",\"class\":\"Array\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":4,\"preview\":{\"kind\":\"ArrayLike\",\"length\":3,\"items\":[\"a\",\"b\",\"c\"]}}],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -786,7 +809,8 @@ stubPreparedMessages.set("console.table(['a', 'b', 'c'])", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.group('bar')", new ConsoleMessage({ stubPreparedMessages.set("console.group('bar')", new ConsoleMessage({
@ -801,7 +825,7 @@ stubPreparedMessages.set("console.group('bar')", new ConsoleMessage({
"bar" "bar"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"bar\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"bar\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -811,7 +835,8 @@ stubPreparedMessages.set("console.group('bar')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.groupEnd('bar')", new ConsoleMessage({ stubPreparedMessages.set("console.groupEnd('bar')", new ConsoleMessage({
@ -824,7 +849,7 @@ stubPreparedMessages.set("console.groupEnd('bar')", new ConsoleMessage({
"messageText": null, "messageText": null,
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -834,7 +859,8 @@ stubPreparedMessages.set("console.groupEnd('bar')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.groupCollapsed('foo')", new ConsoleMessage({ stubPreparedMessages.set("console.groupCollapsed('foo')", new ConsoleMessage({
@ -849,7 +875,7 @@ stubPreparedMessages.set("console.groupCollapsed('foo')", new ConsoleMessage({
"foo" "foo"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroupCollapsed\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foo\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroupCollapsed\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foo\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -859,7 +885,8 @@ stubPreparedMessages.set("console.groupCollapsed('foo')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.groupEnd('foo')", new ConsoleMessage({ stubPreparedMessages.set("console.groupEnd('foo')", new ConsoleMessage({
@ -872,7 +899,7 @@ stubPreparedMessages.set("console.groupEnd('foo')", new ConsoleMessage({
"messageText": null, "messageText": null,
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -882,7 +909,8 @@ stubPreparedMessages.set("console.groupEnd('foo')", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.group()", new ConsoleMessage({ stubPreparedMessages.set("console.group()", new ConsoleMessage({
@ -897,7 +925,7 @@ stubPreparedMessages.set("console.group()", new ConsoleMessage({
"<no group label>" "<no group label>"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"<no group label>\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"<no group label>\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -907,7 +935,8 @@ stubPreparedMessages.set("console.group()", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.groupEnd()", new ConsoleMessage({ stubPreparedMessages.set("console.groupEnd()", new ConsoleMessage({
@ -920,7 +949,7 @@ stubPreparedMessages.set("console.groupEnd()", new ConsoleMessage({
"messageText": null, "messageText": null,
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -930,7 +959,8 @@ stubPreparedMessages.set("console.groupEnd()", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.log(%cfoobar)", new ConsoleMessage({ stubPreparedMessages.set("console.log(%cfoobar)", new ConsoleMessage({
@ -946,7 +976,7 @@ stubPreparedMessages.set("console.log(%cfoobar)", new ConsoleMessage({
"bar" "bar"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foo\",\"bar\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[\"color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px\",\"color:red;background:url('http://example.com/test')\"],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foo\",\"bar\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[\"color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px\",\"color:red;background:url('http://example.com/test')\"],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -959,7 +989,8 @@ stubPreparedMessages.set("console.log(%cfoobar)", new ConsoleMessage({
"color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px", "color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px",
"color:red;background:url('http://example.com/test')" "color:red;background:url('http://example.com/test')"
], ],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.group(%cfoo%cbar)", new ConsoleMessage({ stubPreparedMessages.set("console.group(%cfoo%cbar)", new ConsoleMessage({
@ -975,7 +1006,7 @@ stubPreparedMessages.set("console.group(%cfoo%cbar)", new ConsoleMessage({
"bar" "bar"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foo\",\"bar\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[\"color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px\",\"color:red;background:url('http://example.com/test')\"],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foo\",\"bar\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[\"color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px\",\"color:red;background:url('http://example.com/test')\"],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -988,7 +1019,8 @@ stubPreparedMessages.set("console.group(%cfoo%cbar)", new ConsoleMessage({
"color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px", "color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px",
"color:red;background:url('http://example.com/test')" "color:red;background:url('http://example.com/test')"
], ],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.groupEnd(%cfoo%cbar)", new ConsoleMessage({ stubPreparedMessages.set("console.groupEnd(%cfoo%cbar)", new ConsoleMessage({
@ -1001,7 +1033,7 @@ stubPreparedMessages.set("console.groupEnd(%cfoo%cbar)", new ConsoleMessage({
"messageText": null, "messageText": null,
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":6,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":6,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -1011,7 +1043,8 @@ stubPreparedMessages.set("console.groupEnd(%cfoo%cbar)", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.groupCollapsed(%cfoo%cbaz)", new ConsoleMessage({ stubPreparedMessages.set("console.groupCollapsed(%cfoo%cbaz)", new ConsoleMessage({
@ -1027,7 +1060,7 @@ stubPreparedMessages.set("console.groupCollapsed(%cfoo%cbaz)", new ConsoleMessag
"baz" "baz"
], ],
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroupCollapsed\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foo\",\"baz\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[\"color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px\",\"color:red;background:url('http://example.com/test')\"],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"startGroupCollapsed\",\"level\":\"log\",\"messageText\":null,\"parameters\":[\"foo\",\"baz\"],\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[\"color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px\",\"color:red;background:url('http://example.com/test')\"],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -1040,7 +1073,8 @@ stubPreparedMessages.set("console.groupCollapsed(%cfoo%cbaz)", new ConsoleMessag
"color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px", "color:blue;font-size:1.3em;background:url('http://example.com/test');position:absolute;top:10px",
"color:red;background:url('http://example.com/test')" "color:red;background:url('http://example.com/test')"
], ],
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("console.groupEnd(%cfoo%cbaz)", new ConsoleMessage({ stubPreparedMessages.set("console.groupEnd(%cfoo%cbaz)", new ConsoleMessage({
@ -1053,7 +1087,7 @@ stubPreparedMessages.set("console.groupEnd(%cfoo%cbaz)", new ConsoleMessage({
"messageText": null, "messageText": null,
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":6,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"console-api\",\"timeStamp\":null,\"type\":\"endGroup\",\"level\":\"log\",\"messageText\":null,\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":6,\"column\":1},\"groupId\":null,\"exceptionDocURL\":null,\"userProvidedStyles\":[],\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -1063,7 +1097,8 @@ stubPreparedMessages.set("console.groupEnd(%cfoo%cbaz)", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": null, "exceptionDocURL": null,
"userProvidedStyles": [], "userProvidedStyles": [],
"notes": null "notes": null,
"indent": 0
})); }));
stubPackets.set("console.log('foobar', 'test')", { stubPackets.set("console.log('foobar', 'test')", {

Просмотреть файл

@ -23,7 +23,7 @@ stubPreparedMessages.set("Unknown property such-unknown-property. Declara
"messageText": "Unknown property such-unknown-property. Declaration dropped.", "messageText": "Unknown property such-unknown-property. Declaration dropped.",
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"css\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"warn\",\"messageText\":\"Unknown property such-unknown-property. Declaration dropped.\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-css-message.html\",\"line\":3,\"column\":23},\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"css\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"warn\",\"messageText\":\"Unknown property such-unknown-property. Declaration dropped.\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-css-message.html\",\"line\":3,\"column\":23},\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-css-message.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-css-message.html",
@ -32,7 +32,8 @@ stubPreparedMessages.set("Unknown property such-unknown-property. Declara
}, },
"groupId": null, "groupId": null,
"userProvidedStyles": null, "userProvidedStyles": null,
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("Error in parsing value for padding-top. Declaration dropped.", new ConsoleMessage({ stubPreparedMessages.set("Error in parsing value for padding-top. Declaration dropped.", new ConsoleMessage({
@ -45,7 +46,7 @@ stubPreparedMessages.set("Error in parsing value for padding-top. Declara
"messageText": "Error in parsing value for padding-top. Declaration dropped.", "messageText": "Error in parsing value for padding-top. Declaration dropped.",
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"css\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"warn\",\"messageText\":\"Error in parsing value for padding-top. Declaration dropped.\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-css-message.html\",\"line\":3,\"column\":15},\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"css\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"warn\",\"messageText\":\"Error in parsing value for padding-top. Declaration dropped.\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-css-message.html\",\"line\":3,\"column\":15},\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-css-message.html", "source": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-css-message.html",
@ -54,7 +55,8 @@ stubPreparedMessages.set("Error in parsing value for padding-top. Declara
}, },
"groupId": null, "groupId": null,
"userProvidedStyles": null, "userProvidedStyles": null,
"notes": null "notes": null,
"indent": 0
})); }));
stubPackets.set("Unknown property such-unknown-property. Declaration dropped.", { stubPackets.set("Unknown property such-unknown-property. Declaration dropped.", {

Просмотреть файл

@ -33,12 +33,13 @@ stubPreparedMessages.set("new Date(0)", new ConsoleMessage({
} }
}, },
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"result\",\"level\":\"log\",\"parameters\":{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj30\",\"class\":\"Date\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":0,\"preview\":{\"timestamp\":0}},\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":null,\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"result\",\"level\":\"log\",\"parameters\":{\"type\":\"object\",\"actor\":\"server1.conn0.child1/obj30\",\"class\":\"Date\",\"extensible\":true,\"frozen\":false,\"sealed\":false,\"ownPropertyLength\":0,\"preview\":{\"timestamp\":0}},\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":null,\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": null, "frame": null,
"groupId": null, "groupId": null,
"userProvidedStyles": null, "userProvidedStyles": null,
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("asdf()", new ConsoleMessage({ stubPreparedMessages.set("asdf()", new ConsoleMessage({
@ -53,7 +54,7 @@ stubPreparedMessages.set("asdf()", new ConsoleMessage({
"type": "undefined" "type": "undefined"
}, },
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"result\",\"level\":\"error\",\"messageText\":\"ReferenceError: asdf is not defined\",\"parameters\":{\"type\":\"undefined\"},\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"debugger eval code\",\"line\":1,\"column\":1},\"groupId\":null,\"exceptionDocURL\":\"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default\",\"userProvidedStyles\":null,\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"result\",\"level\":\"error\",\"messageText\":\"ReferenceError: asdf is not defined\",\"parameters\":{\"type\":\"undefined\"},\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"debugger eval code\",\"line\":1,\"column\":1},\"groupId\":null,\"exceptionDocURL\":\"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default\",\"userProvidedStyles\":null,\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "debugger eval code", "source": "debugger eval code",
@ -63,7 +64,8 @@ stubPreparedMessages.set("asdf()", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default", "exceptionDocURL": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default",
"userProvidedStyles": null, "userProvidedStyles": null,
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("1 + @", new ConsoleMessage({ stubPreparedMessages.set("1 + @", new ConsoleMessage({
@ -78,7 +80,7 @@ stubPreparedMessages.set("1 + @", new ConsoleMessage({
"type": "undefined" "type": "undefined"
}, },
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"result\",\"level\":\"error\",\"messageText\":\"SyntaxError: illegal character\",\"parameters\":{\"type\":\"undefined\"},\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"debugger eval code\",\"line\":1,\"column\":4},\"groupId\":null,\"exceptionDocURL\":\"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Illegal_character?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default\",\"userProvidedStyles\":null,\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"result\",\"level\":\"error\",\"messageText\":\"SyntaxError: illegal character\",\"parameters\":{\"type\":\"undefined\"},\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":{\"source\":\"debugger eval code\",\"line\":1,\"column\":4},\"groupId\":null,\"exceptionDocURL\":\"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Illegal_character?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default\",\"userProvidedStyles\":null,\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": { "frame": {
"source": "debugger eval code", "source": "debugger eval code",
@ -88,7 +90,8 @@ stubPreparedMessages.set("1 + @", new ConsoleMessage({
"groupId": null, "groupId": null,
"exceptionDocURL": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Illegal_character?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default", "exceptionDocURL": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Illegal_character?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default",
"userProvidedStyles": null, "userProvidedStyles": null,
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("longString message Error", new ConsoleMessage({ stubPreparedMessages.set("longString message Error", new ConsoleMessage({
@ -108,12 +111,13 @@ stubPreparedMessages.set("longString message Error", new ConsoleMessage({
"type": "undefined" "type": "undefined"
}, },
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"result\",\"level\":\"error\",\"messageText\":{\"type\":\"longString\",\"initial\":\"Error: Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Lon\",\"length\":110007,\"actor\":\"server1.conn0.child1/longString37\"},\"parameters\":{\"type\":\"undefined\"},\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":null,\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"result\",\"level\":\"error\",\"messageText\":{\"type\":\"longString\",\"initial\":\"Error: Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Lon\",\"length\":110007,\"actor\":\"server1.conn0.child1/longString37\"},\"parameters\":{\"type\":\"undefined\"},\"repeat\":null,\"repeatId\":null,\"stacktrace\":null,\"frame\":null,\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null,\"indent\":0}",
"stacktrace": null, "stacktrace": null,
"frame": null, "frame": null,
"groupId": null, "groupId": null,
"userProvidedStyles": null, "userProvidedStyles": null,
"notes": null "notes": null,
"indent": 0
})); }));
stubPackets.set("new Date(0)", { stubPackets.set("new Date(0)", {

Просмотреть файл

@ -26,7 +26,8 @@ stubPreparedMessages.set("GET request", new NetworkEventMessage({
"source": "network", "source": "network",
"type": "log", "type": "log",
"groupId": null, "groupId": null,
"timeStamp": 1487022056850 "timeStamp": 1487022056850,
"indent": 0
})); }));
stubPreparedMessages.set("GET request eventTimings", new NetworkEventMessage({ stubPreparedMessages.set("GET request eventTimings", new NetworkEventMessage({
@ -51,7 +52,8 @@ stubPreparedMessages.set("GET request eventTimings", new NetworkEventMessage({
"type": "log", "type": "log",
"groupId": null, "groupId": null,
"timeStamp": 1486927175277, "timeStamp": 1486927175277,
"totalTime": 23 "totalTime": 23,
"indent": 0
})); }));
stubPreparedMessages.set("XHR GET request", new NetworkEventMessage({ stubPreparedMessages.set("XHR GET request", new NetworkEventMessage({
@ -67,7 +69,8 @@ stubPreparedMessages.set("XHR GET request", new NetworkEventMessage({
"source": "network", "source": "network",
"type": "log", "type": "log",
"groupId": null, "groupId": null,
"timeStamp": 1487022057746 "timeStamp": 1487022057746,
"indent": 0
})); }));
stubPreparedMessages.set("XHR GET request eventTimings", new NetworkEventMessage({ stubPreparedMessages.set("XHR GET request eventTimings", new NetworkEventMessage({
@ -92,7 +95,8 @@ stubPreparedMessages.set("XHR GET request eventTimings", new NetworkEventMessage
"type": "log", "type": "log",
"groupId": null, "groupId": null,
"timeStamp": 1486927179824, "timeStamp": 1486927179824,
"totalTime": 51 "totalTime": 51,
"indent": 0
})); }));
stubPreparedMessages.set("XHR POST request", new NetworkEventMessage({ stubPreparedMessages.set("XHR POST request", new NetworkEventMessage({
@ -108,7 +112,8 @@ stubPreparedMessages.set("XHR POST request", new NetworkEventMessage({
"source": "network", "source": "network",
"type": "log", "type": "log",
"groupId": null, "groupId": null,
"timeStamp": 1487022058414 "timeStamp": 1487022058414,
"indent": 0
})); }));
stubPreparedMessages.set("XHR POST request eventTimings", new NetworkEventMessage({ stubPreparedMessages.set("XHR POST request eventTimings", new NetworkEventMessage({
@ -133,7 +138,8 @@ stubPreparedMessages.set("XHR POST request eventTimings", new NetworkEventMessag
"type": "log", "type": "log",
"groupId": null, "groupId": null,
"timeStamp": 1486927183220, "timeStamp": 1486927183220,
"totalTime": 12 "totalTime": 12,
"indent": 0
})); }));
stubPackets.set("GET request", { stubPackets.set("GET request", {

Просмотреть файл

@ -23,7 +23,7 @@ stubPreparedMessages.set("ReferenceError: asdf is not defined", new ConsoleMessa
"messageText": "ReferenceError: asdf is not defined", "messageText": "ReferenceError: asdf is not defined",
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"error\",\"messageText\":\"ReferenceError: asdf is not defined\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"lineNumber\":3,\"columnNumber\":5,\"functionName\":\"bar\"},{\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"lineNumber\":6,\"columnNumber\":5,\"functionName\":\"foo\"},{\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"lineNumber\":9,\"columnNumber\":3,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js line 52 > eval\",\"lineNumber\":6,\"columnNumber\":9,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js\",\"lineNumber\":53,\"columnNumber\":20,\"functionName\":null}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":5},\"groupId\":null,\"exceptionDocURL\":\"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default\",\"userProvidedStyles\":null,\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"error\",\"messageText\":\"ReferenceError: asdf is not defined\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"lineNumber\":3,\"columnNumber\":5,\"functionName\":\"bar\"},{\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"lineNumber\":6,\"columnNumber\":5,\"functionName\":\"foo\"},{\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"lineNumber\":9,\"columnNumber\":3,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js line 52 > eval\",\"lineNumber\":6,\"columnNumber\":9,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js\",\"lineNumber\":53,\"columnNumber\":20,\"functionName\":null}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":3,\"column\":5},\"groupId\":null,\"exceptionDocURL\":\"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default\",\"userProvidedStyles\":null,\"notes\":null,\"indent\":0}",
"stacktrace": [ "stacktrace": [
{ {
"filename": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "filename": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -64,7 +64,8 @@ stubPreparedMessages.set("ReferenceError: asdf is not defined", new ConsoleMessa
"groupId": null, "groupId": null,
"exceptionDocURL": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default", "exceptionDocURL": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Not_defined?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default",
"userProvidedStyles": null, "userProvidedStyles": null,
"notes": null "notes": null,
"indent": 0
})); }));
stubPreparedMessages.set("SyntaxError: redeclaration of let a", new ConsoleMessage({ stubPreparedMessages.set("SyntaxError: redeclaration of let a", new ConsoleMessage({
@ -77,7 +78,7 @@ stubPreparedMessages.set("SyntaxError: redeclaration of let a", new ConsoleMessa
"messageText": "SyntaxError: redeclaration of let a", "messageText": "SyntaxError: redeclaration of let a",
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"error\",\"messageText\":\"SyntaxError: redeclaration of let a\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"filename\":\"resource://testing-common/content-task.js line 52 > eval\",\"lineNumber\":6,\"columnNumber\":9,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js\",\"lineNumber\":53,\"columnNumber\":20,\"functionName\":null}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":9},\"groupId\":null,\"userProvidedStyles\":null,\"notes\":[{\"messageBody\":\"Previously declared at line 2, column 6\",\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":6}}]}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"error\",\"messageText\":\"SyntaxError: redeclaration of let a\",\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"filename\":\"resource://testing-common/content-task.js line 52 > eval\",\"lineNumber\":6,\"columnNumber\":9,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js\",\"lineNumber\":53,\"columnNumber\":20,\"functionName\":null}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":9},\"groupId\":null,\"userProvidedStyles\":null,\"notes\":[{\"messageBody\":\"Previously declared at line 2, column 6\",\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":2,\"column\":6}}],\"indent\":0}",
"stacktrace": [ "stacktrace": [
{ {
"filename": "resource://testing-common/content-task.js line 52 > eval", "filename": "resource://testing-common/content-task.js line 52 > eval",
@ -108,7 +109,8 @@ stubPreparedMessages.set("SyntaxError: redeclaration of let a", new ConsoleMessa
"column": 6 "column": 6
} }
} }
] ],
"indent": 0
})); }));
stubPreparedMessages.set("TypeError longString message", new ConsoleMessage({ stubPreparedMessages.set("TypeError longString message", new ConsoleMessage({
@ -126,7 +128,7 @@ stubPreparedMessages.set("TypeError longString message", new ConsoleMessage({
}, },
"parameters": null, "parameters": null,
"repeat": 1, "repeat": 1,
"repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"error\",\"messageText\":{\"type\":\"longString\",\"initial\":\"Error: Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Lon\",\"length\":110007,\"actor\":\"server1.conn0.child1/longString30\"},\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"lineNumber\":1,\"columnNumber\":7,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js line 52 > eval\",\"lineNumber\":6,\"columnNumber\":9,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js\",\"lineNumber\":53,\"columnNumber\":20,\"functionName\":null}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":7},\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null}", "repeatId": "{\"id\":null,\"allowRepeating\":true,\"source\":\"javascript\",\"timeStamp\":null,\"type\":\"log\",\"level\":\"error\",\"messageText\":{\"type\":\"longString\",\"initial\":\"Error: Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Long error Lon\",\"length\":110007,\"actor\":\"server1.conn0.child1/longString30\"},\"parameters\":null,\"repeat\":null,\"repeatId\":null,\"stacktrace\":[{\"filename\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"lineNumber\":1,\"columnNumber\":7,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js line 52 > eval\",\"lineNumber\":6,\"columnNumber\":9,\"functionName\":null},{\"filename\":\"resource://testing-common/content-task.js\",\"lineNumber\":53,\"columnNumber\":20,\"functionName\":null}],\"frame\":{\"source\":\"http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html\",\"line\":1,\"column\":7},\"groupId\":null,\"userProvidedStyles\":null,\"notes\":null,\"indent\":0}",
"stacktrace": [ "stacktrace": [
{ {
"filename": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html", "filename": "http://example.com/browser/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/test-console-api.html",
@ -154,7 +156,8 @@ stubPreparedMessages.set("TypeError longString message", new ConsoleMessage({
}, },
"groupId": null, "groupId": null,
"userProvidedStyles": null, "userProvidedStyles": null,
"notes": null "notes": null,
"indent": 0
})); }));
stubPackets.set("ReferenceError: asdf is not defined", { stubPackets.set("ReferenceError: asdf is not defined", {

Просмотреть файл

@ -21,6 +21,7 @@ exports.ConsoleCommand = Immutable.Record({
type: MESSAGE_TYPE.COMMAND, type: MESSAGE_TYPE.COMMAND,
level: MESSAGE_LEVEL.LOG, level: MESSAGE_LEVEL.LOG,
groupId: null, groupId: null,
indent: 0,
}); });
exports.ConsoleMessage = Immutable.Record({ exports.ConsoleMessage = Immutable.Record({
@ -40,6 +41,7 @@ exports.ConsoleMessage = Immutable.Record({
exceptionDocURL: null, exceptionDocURL: null,
userProvidedStyles: null, userProvidedStyles: null,
notes: null, notes: null,
indent: 0,
}); });
exports.NetworkEventMessage = Immutable.Record({ exports.NetworkEventMessage = Immutable.Record({
@ -54,4 +56,5 @@ exports.NetworkEventMessage = Immutable.Record({
groupId: null, groupId: null,
timeStamp: null, timeStamp: null,
totalTime: null, totalTime: null,
indent: 0,
}); });