Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8315

"Object" doesn't display its attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Firefox nightly on MacOSX Yosemite

    Description

      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.

      Attachments

        Activity

          People

            pmuellr Patrick Mueller
            _kud _kud
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: