Index: Source/WebCore/inspector/front-end/ConsoleMessage.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/ConsoleMessage.js (revision 136037) |
+++ Source/WebCore/inspector/front-end/ConsoleMessage.js (working copy) |
@@ -324,8 +324,11 @@ |
span.addStyleClass("console-formatted-preview-node"); |
else if (property.subtype === "regexp") |
span.addStyleClass("console-formatted-string"); |
- } |
- span.textContent = property.value; |
+ span.textContent = property.value; |
+ } else if (property.type === "function") |
+ span.textContent = "function"; |
+ else |
+ span.textContent = property.value; |
} |
if (preview.overflow) |
titleElement.createChild("span").textContent = "\u2026"; |