diff --git a/extensions/inspector/resources/content/viewers/jsObject/jsObjectViewer.js b/extensions/inspector/resources/content/viewers/jsObject/jsObjectViewer.js index c62c0380b185..c1d8143cb1fe 100644 --- a/extensions/inspector/resources/content/viewers/jsObject/jsObjectViewer.js +++ b/extensions/inspector/resources/content/viewers/jsObject/jsObjectViewer.js @@ -209,7 +209,9 @@ JSObjectViewer.prototype = var value; if (aValue === null) { - value = "(null)" + value = "(null)"; + } else if (aValue === undefined) { + value = "(undefined)"; } else { try { value = aValue.toString();