Title: [86839] trunk/Source/WebCore
Revision
86839
Author
[email protected]
Date
2011-05-19 05:13:16 -0700 (Thu, 19 May 2011)

Log Message

2011-05-19  Pavel Feldman  <[email protected]>

        Not reviewed: inspector protocol tests fixed.

        * inspector/InjectedScriptSource.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (86838 => 86839)


--- trunk/Source/WebCore/ChangeLog	2011-05-19 12:03:58 UTC (rev 86838)
+++ trunk/Source/WebCore/ChangeLog	2011-05-19 12:13:16 UTC (rev 86839)
@@ -1,3 +1,9 @@
+2011-05-19  Pavel Feldman  <[email protected]>
+
+        Not reviewed: inspector protocol tests fixed.
+
+        * inspector/InjectedScriptSource.js:
+
 2011-05-19  David Grogan  <[email protected]>
 
         Reviewed by David Levin.

Modified: trunk/Source/WebCore/inspector/InjectedScriptSource.js (86838 => 86839)


--- trunk/Source/WebCore/inspector/InjectedScriptSource.js	2011-05-19 12:03:58 UTC (rev 86838)
+++ trunk/Source/WebCore/inspector/InjectedScriptSource.js	2011-05-19 12:13:16 UTC (rev 86839)
@@ -447,7 +447,7 @@
     var type = injectedScript._type(object);
     var rawType = typeof object;
     var hasChildren = (rawType === "object" && object !== null && (!!Object.getOwnPropertyNames(object).length || !!object.__proto__)) || rawType === "function";
-    var className = InjectedScriptHost.internalConstructorName(object);
+    var className = typeof object === "object" || typeof object === "function" ? InjectedScriptHost.internalConstructorName(object) : undefined;
     var description = injectedScript._describe(object);
     return new InjectedScript.RemoteObject(objectId, type, className, description, hasChildren);
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to