cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8313) How to know when the connection is ready?
Date Thu, 15 Jan 2015 16:46:34 GMT

    [ https://issues.apache.org/jira/browse/CB-8313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14278923#comment-14278923
] 

Patrick Mueller commented on CB-8313:
-------------------------------------

One of my focus areas for weinre was how to make it easy to discover/start a debugger session,
and I think weinre does a pretty good job there.  

Older versions of Safari, which required various sorts of menu clicks to launch, closed unconnected
windows, etc, did a pretty poor job of it. It was almost not worth using, it was so painful
to me.  Perhaps it's fixed these days, I dunno.  If not, maybe someday.

I'm hoping the firefox "remote debugging for everything" story ends up being a useful for
users, and will perhaps even drive the vendors (Google/Apple/MS/etc) to work together to create
a nice environment for multi-platform developers.

> How to know when the connection is ready?
> -----------------------------------------
>
>                 Key: CB-8313
>                 URL: https://issues.apache.org/jira/browse/CB-8313
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: weinre
>         Environment: MacOSX latest Yosemite, Firefox latest Nightly
> Weinre 2.0.0-pre-I0Z7U9OV
>            Reporter: _kud
>            Assignee: Patrick Mueller
>            Priority: Blocker
>
> As I can see, the project redefines console. Though, when the scope is private or/and
used with browserify, the console.log doesn't work. I have no return.
> Though, if I do:
> ```
> video.addEventListener( 'play', function() {
>     console.log( 'hello' )
> })
> ```
> in my code, it seems to work.
> Do you have any idea why?



--
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


Mime
View raw message