Index: Source/core/inspector/InjectedScriptSource.js |
diff --git a/Source/core/inspector/InjectedScriptSource.js b/Source/core/inspector/InjectedScriptSource.js |
index 4f42e8db4127745e2a61d2497508ff280bc27fd0..b7cd5cba75e7884fb859cc4f121ccde27ba07f34 100644 |
--- a/Source/core/inspector/InjectedScriptSource.js |
+++ b/Source/core/inspector/InjectedScriptSource.js |
@@ -1077,7 +1077,9 @@ InjectedScript.RemoteObject = function(object, objectGroupName, forceValueType, |
var subtype = injectedScript._subtype(object); |
if (subtype) |
this.subtype = subtype; |
- this.className = InjectedScriptHost.internalConstructorName(object); |
+ var className = InjectedScriptHost.internalConstructorName(object); |
+ if (className) |
+ this.className = className; |
this.description = injectedScript._describe(object); |
if (generatePreview && (this.type === "object" || injectedScript._isHTMLAllCollection(object))) |