You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Patrick Mueller (Created) (JIRA)" <ji...@apache.org> on 2011/11/29 19:09:40 UTC

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

Support Firefox Mobile (Fennec) as debug target
-----------------------------------------------

                 Key: CB-89
                 URL: https://issues.apache.org/jira/browse/CB-89
             Project: Apache Callback
          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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira