summaryrefslogtreecommitdiff
path: root/devtools/client/webconsole/console-output.js
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-09-01 15:44:29 +0200
committerMoonchild <moonchild@palemoon.org>2023-09-01 15:44:29 +0200
commit2d48de9998d5c4f768af051ce997777be126f8cd (patch)
treec6023db91bfadaa8e1d7c4c12d90ad63bf810454 /devtools/client/webconsole/console-output.js
parent3b029cdfe482e5097ee09fa1998591faf9c1005b (diff)
parentee97a5dad40fb8d207b717cb2a0d487f54dd5f1d (diff)
downloaduxp-2d48de9998d5c4f768af051ce997777be126f8cd.tar.gz
Merge branch 'master' into releaseRC_20230901RB_20230904
Diffstat (limited to 'devtools/client/webconsole/console-output.js')
-rw-r--r--devtools/client/webconsole/console-output.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/devtools/client/webconsole/console-output.js b/devtools/client/webconsole/console-output.js
index 649ec65ae6..8fbaec94fe 100644
--- a/devtools/client/webconsole/console-output.js
+++ b/devtools/client/webconsole/console-output.js
@@ -1293,6 +1293,7 @@ Messages.Extended.prototype = extend(Messages.Simple.prototype, {
{
let map = {
"number": "cm-number",
+ "bigint": "cm-number",
"longstring": "console-string",
"string": "console-string",
"regexp": "cm-string-2",
@@ -3365,6 +3366,15 @@ Widgets.ObjectRenderers.add({
});
/**
+ * The widget used for displaying BigInt previews.
+ */
+Widgets.ObjectRenderers.add({
+ byClass: "BigInt",
+
+ render: WrappedPrimitiveRenderer,
+});
+
+/**
* The widget used for displaying String previews.
*/
Widgets.ObjectRenderers.add({