summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/new-console-output/utils/messages.js
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-09 14:52:19 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:34 -0400
commit4dc8efd76cb2ff649cfcec5dfa88686ea79b4ee2 (patch)
treedfa6647b40b69c13eadf040e99000378db324ee7 /devtools/client/webconsole/new-console-output/utils/messages.js
parent8e932efef46c70fd0c165ee432893f9898267f08 (diff)
downloadUXP-4dc8efd76cb2ff649cfcec5dfa88686ea79b4ee2.tar
UXP-4dc8efd76cb2ff649cfcec5dfa88686ea79b4ee2.tar.gz
UXP-4dc8efd76cb2ff649cfcec5dfa88686ea79b4ee2.tar.lz
UXP-4dc8efd76cb2ff649cfcec5dfa88686ea79b4ee2.tar.xz
UXP-4dc8efd76cb2ff649cfcec5dfa88686ea79b4ee2.zip
1283712 - Part 11.1: Show notes in devtools console.
Diffstat (limited to 'devtools/client/webconsole/new-console-output/utils/messages.js')
-rw-r--r--devtools/client/webconsole/new-console-output/utils/messages.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/devtools/client/webconsole/new-console-output/utils/messages.js b/devtools/client/webconsole/new-console-output/utils/messages.js
index f91209e9d..119bc7fba 100644
--- a/devtools/client/webconsole/new-console-output/utils/messages.js
+++ b/devtools/client/webconsole/new-console-output/utils/messages.js
@@ -165,6 +165,7 @@ function transformPacket(packet) {
stacktrace: pageError.stacktrace ? pageError.stacktrace : null,
frame,
exceptionDocURL: pageError.exceptionDocURL,
+ notes: pageError.notes,
});
}
@@ -185,7 +186,8 @@ function transformPacket(packet) {
exceptionMessage: messageText,
exceptionDocURL,
frame,
- result: parameters
+ result: parameters,
+ notes,
} = packet;
const level = messageText ? MESSAGE_LEVEL.ERROR : MESSAGE_LEVEL.LOG;
@@ -197,6 +199,7 @@ function transformPacket(packet) {
parameters,
exceptionDocURL,
frame,
+ notes,
});
}
}