On 22/04/2014 17:08, Dale Harvey wrote: > https://github.com/mozilla-b2g/gaia/blob/master/apps/system/test/marionette/sim_dialog_test.js > I would like to use one of the 3 mocks for mozMobileConnection > https://github.com/mozilla-b2g/gaia/blob/master/shared/test/unit/mocks/mock_navigator_moz_mobile_connection.js > preferably
Actually that's deprecated since navigator.mozMobileConnection is gone, replaced by the navigator.mozMobileConnections array when DSDS support was introduced. You should use https://github.com/mozilla-b2g/gaia/blob/master/shared/test/unit/mocks/mock_navigator_moz_mobile_connections.js instead (note the final 's'). We're trying to get rid of the former file but it's still used here and there. Gabriele
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
