2010-08-30 Pavel Feldman <pfeldman@chromium.org>
authorpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Aug 2010 14:27:53 +0000 (14:27 +0000)
committerpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Aug 2010 14:27:53 +0000 (14:27 +0000)
        Reviewed by Yury Semikhatsky.

        Web Inspector: event listener properties are rendered as [object Object].
        https://bugs.webkit.org/show_bug.cgi?id=44779

        * inspector/front-end/EventListenersSidebarPane.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@66388 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/inspector/front-end/EventListenersSidebarPane.js

index 7053178..6e1f97d 100644 (file)
@@ -1,3 +1,12 @@
+2010-08-30  Pavel Feldman  <pfeldman@chromium.org>
+
+        Reviewed by Yury Semikhatsky.
+
+        Web Inspector: event listener properties are rendered as [object Object].
+        https://bugs.webkit.org/show_bug.cgi?id=44779
+
+        * inspector/front-end/EventListenersSidebarPane.js:
+
 2010-08-30  Ryuan Choi  <ryuan.choi@samsung.com>
 
         Unreviewed build fix with Blob Support
index 5be1812..34dea00 100644 (file)
@@ -196,7 +196,7 @@ WebInspector.EventListenerBar.prototype = {
                 properties.push(new WebInspector.RemoteObjectProperty("node", nodeObject));
 
             for (var propertyName in this.eventListener) {
-                var value = WebInspector.RemoteObject.fromPrimitiveValue(value);
+                var value = WebInspector.RemoteObject.fromPrimitiveValue(this.eventListener[propertyName]);
                 properties.push(new WebInspector.RemoteObjectProperty(propertyName, value));
             }
             this.updateProperties(properties);