You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2012/09/25 17:43:09 UTC

[jira] [Created] (CB-1539) Cordova's console.log does not log to remote web-inspector

Andrew Grieve created CB-1539:
---------------------------------

             Summary: Cordova's console.log does not log to remote web-inspector
                 Key: CB-1539
                 URL: https://issues.apache.org/jira/browse/CB-1539
             Project: Apache Cordova
          Issue Type: Improvement
          Components: iOS
            Reporter: Andrew Grieve
            Assignee: Patrick Mueller
             Fix For: 2.2.0


Cordova replaces window.console with it's own object. However, it's causing console.log() messages to not show up in iOS6's remote web inspector.

Probably we should just disable cordova's console object on iOS6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1539) Cordova's console.log does not log to remote web-inspector

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462940#comment-13462940 ] 

Andrew Grieve commented on CB-1539:
-----------------------------------

Yep, just tested turning off remote web-inspector and verified console.log doesn't throw.
                
> Cordova's console.log does not log to remote web-inspector
> ----------------------------------------------------------
>
>                 Key: CB-1539
>                 URL: https://issues.apache.org/jira/browse/CB-1539
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Patrick Mueller
>             Fix For: 2.2.0
>
>
> Cordova replaces window.console with it's own object. However, it's causing console.log() messages to not show up in iOS6's remote web inspector.
> Probably we should just disable cordova's console object on iOS6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1539) Cordova's console.log does not log to remote web-inspector

Posted by "Patrick Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463867#comment-13463867 ] 

Patrick Mueller commented on CB-1539:
-------------------------------------

agrieve made a comment about the calculation of the methods, so added a minor fix.

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=0e58060f07209c44b084fbde5b305768c05a511f
                
> Cordova's console.log does not log to remote web-inspector
> ----------------------------------------------------------
>
>                 Key: CB-1539
>                 URL: https://issues.apache.org/jira/browse/CB-1539
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Patrick Mueller
>             Fix For: 2.2.0
>
>
> Cordova replaces window.console with it's own object. However, it's causing console.log() messages to not show up in iOS6's remote web inspector.
> Probably we should just disable cordova's console object on iOS6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1539) Cordova's console.log does not log to remote web-inspector

Posted by "Patrick Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462921#comment-13462921 ] 

Patrick Mueller commented on CB-1539:
-------------------------------------

Since iOS6 now has a usable debugger (remote web inspector), I think it's fair to say that Cordova should use the native one instead of it's own.  I assume you can continue to call console.log() etal, even if you aren't connected to the debugger, and those are just no-ops?

                
> Cordova's console.log does not log to remote web-inspector
> ----------------------------------------------------------
>
>                 Key: CB-1539
>                 URL: https://issues.apache.org/jira/browse/CB-1539
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Patrick Mueller
>             Fix For: 2.2.0
>
>
> Cordova replaces window.console with it's own object. However, it's causing console.log() messages to not show up in iOS6's remote web inspector.
> Probably we should just disable cordova's console object on iOS6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1539) Cordova's console.log does not log to remote web-inspector

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-1539:
---------------------------------

    Component/s: CordovaJS
    
> Cordova's console.log does not log to remote web-inspector
> ----------------------------------------------------------
>
>                 Key: CB-1539
>                 URL: https://issues.apache.org/jira/browse/CB-1539
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS, iOS
>            Reporter: Andrew Grieve
>            Assignee: Patrick Mueller
>             Fix For: 2.2.0
>
>
> Cordova replaces window.console with it's own object. However, it's causing console.log() messages to not show up in iOS6's remote web inspector.
> Probably we should just disable cordova's console object on iOS6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1539) Cordova's console.log does not log to remote web-inspector

Posted by "Patrick Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463851#comment-13463851 ] 

Patrick Mueller commented on CB-1539:
-------------------------------------

Committed in

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=d581fc913c974f3734aee8d0fda2d2f12afadd97
                
> Cordova's console.log does not log to remote web-inspector
> ----------------------------------------------------------
>
>                 Key: CB-1539
>                 URL: https://issues.apache.org/jira/browse/CB-1539
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Patrick Mueller
>             Fix For: 2.2.0
>
>
> Cordova replaces window.console with it's own object. However, it's causing console.log() messages to not show up in iOS6's remote web inspector.
> Probably we should just disable cordova's console object on iOS6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1539) Cordova's console.log does not log to remote web-inspector

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463810#comment-13463810 ] 

Andrew Grieve commented on CB-1539:
-----------------------------------

Change looks good to me!
                
> Cordova's console.log does not log to remote web-inspector
> ----------------------------------------------------------
>
>                 Key: CB-1539
>                 URL: https://issues.apache.org/jira/browse/CB-1539
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Patrick Mueller
>             Fix For: 2.2.0
>
>
> Cordova replaces window.console with it's own object. However, it's causing console.log() messages to not show up in iOS6's remote web inspector.
> Probably we should just disable cordova's console object on iOS6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1539) Cordova's console.log does not log to remote web-inspector

Posted by "Patrick Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463801#comment-13463801 ] 

Patrick Mueller commented on CB-1539:
-------------------------------------

Andrew, are you familiar with this code?  I've got a patch, figured I'd have someone take a quick look-see before pushing it to Apache.

https://github.com/pmuellr/incubator-cordova-js/commit/d581fc913c974f3734aee8d0fda2d2f12afadd97
                
> Cordova's console.log does not log to remote web-inspector
> ----------------------------------------------------------
>
>                 Key: CB-1539
>                 URL: https://issues.apache.org/jira/browse/CB-1539
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Patrick Mueller
>             Fix For: 2.2.0
>
>
> Cordova replaces window.console with it's own object. However, it's causing console.log() messages to not show up in iOS6's remote web inspector.
> Probably we should just disable cordova's console object on iOS6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CB-1539) Cordova's console.log does not log to remote web-inspector

Posted by "Patrick Mueller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Mueller resolved CB-1539.
---------------------------------

    Resolution: Fixed
    
> Cordova's console.log does not log to remote web-inspector
> ----------------------------------------------------------
>
>                 Key: CB-1539
>                 URL: https://issues.apache.org/jira/browse/CB-1539
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>            Reporter: Andrew Grieve
>            Assignee: Patrick Mueller
>             Fix For: 2.2.0
>
>
> Cordova replaces window.console with it's own object. However, it's causing console.log() messages to not show up in iOS6's remote web inspector.
> Probably we should just disable cordova's console object on iOS6?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira