You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Patrick Mueller (JIRA)" <ji...@apache.org> on 2014/03/26 18:15:17 UTC

[jira] [Resolved] (CB-89) Support Firefox Mobile (Fennec) as debug target

     [ https://issues.apache.org/jira/browse/CB-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Mueller resolved CB-89.
-------------------------------

    Resolution: Done

closing as no longer relevant, due to better tooling elsewhere

> Support Firefox Mobile (Fennec) as debug target
> -----------------------------------------------
>
>                 Key: CB-89
>                 URL: https://issues.apache.org/jira/browse/CB-89
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: weinre
>            Reporter: Patrick Mueller
>            Assignee: Patrick Mueller
>
> from https://github.com/phonegap/weinre/issues/22
> *brion (Brion Vibber) opened this issue July 28, 2011*
> Since the debugging shim in the web page runs in native JavaScript, it ought to be possible in theory to use weinre with non-WebKit debugging targets as long as the JS can get the info it needs. This could be quite handy for testing a mobile web app on several browsers including Firefox for Android & Meego.
> I did a quick test with Firefox 5.0.1 on the desktop to see how much works with weinre (my copy of Android firefox is currently not working for unrelated reasons, but it's built from the same codebase as desktop firefox and should behave about the same).
> inspector... sorta works:
> * HTML tree looks ok
> * ... but no highlight of selected item
> * ... no computed style/styles/metrics info
> * ... properties are mislabeled (but this seems to be same problem using Chrome and in the OSCON demo, so may be a regression in the inspector or weinre itself)
> * ... no event listeners info (but also doesn't work in Chrome 12)
> basic console works:
> * evaluate alert('hey')
> * evaluate 25 + 32, get 57
> * evaluate $('p').css('color', 'red') on a jQuery-using page; it works, and shows a list of HTMLParagraphElements as expected
> resources:
> * 'databases' is blank (ff has no websql support so that's probably fine!)
> * 'local storage' and 'session storage' on the localhost does show entries... but they're the setItem, clear, and removeItem methods. :)
> timeline:
> * appears to work similarly to target in Chrome
> Even with the limited inspector, I would probably find this useful already. :D



--
This message was sent by Atlassian JIRA
(v6.2#6252)