We have a lot of adb-related code in emulator.py, and some b2g helper methods like 'restart_b2g' that should belong in mozb2g. We should make Marionette use mozdevice and mozb2g, updating the latter as necessary. In particular, the B2GMixin class of mozb2g is written with the assumption that it will be used by code that is using Marionette, and some of it won't work when used by Marionette itself directly; there's a lot of code that tries to automatically manage Marionette sessions that we probably don't want when used by Marionette itself. We'll probably end up refactoring it to make a lower-level devicemanager mixin that doesn't use Marionette, and then a higher-level one that incorporates that with some automatic Marionette session management.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 997244
You need to log in before you can comment on or make changes to this bug.