You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "_kud (JIRA)" <ji...@apache.org> on 2015/01/15 15:28:34 UTC

[jira] [Created] (CB-8315) "Object" doesn't display its attributes

_kud created CB-8315:
------------------------

             Summary: "Object" doesn't display its attributes
                 Key: CB-8315
                 URL: https://issues.apache.org/jira/browse/CB-8315
             Project: Apache Cordova
          Issue Type: Bug
          Components: weinre
         Environment: Firefox nightly on MacOSX Yosemite
            Reporter: _kud
            Assignee: Patrick Mueller
            Priority: Blocker


When you console.log() an object, you can see the type "Object". But when you click on the arrow, it doesn't display the attributes:

```
2015-01-15T14:23:53.342Z weinre:    NetworkNotify.setInitialContent([35,"{\"channel\":{\"name\":\"Euronews\"},\"program\":{\"progress\":21.666666666667,\"startAt\":\"15:23\",\"endAt\":\"15:27\",\"title\":\"Le mag\",\"genre\":\"Magazine\",\"subgenre\":\"D\\u00e9couverte\"}}","XHR",null])
2015-01-15T14:23:53.342Z weinre:    NetworkNotify.didFinishLoading([35,1421331832.673,null])
2015-01-15T14:23:53.346Z weinre: --------------------------------------------------
2015-01-15T14:23:53.346Z weinre: POST /c-48 [request]
2015-01-15T14:23:53.346Z weinre:    WeinreClientCommands.logError(["weinre: invocation exception on Object.childNodeInserted(): TypeError: parent is undefined",null])
2015-01-15T14:23:53.346Z weinre: client c-48: weinre: invocation exception on Object.childNodeInserted(): TypeError: parent is undefined
```

I had to do console.log(JSON.stringify(Object)) to get a correct display.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org