mozilla/r2d2b2g — pull request #184 by mykmelez (2012-12-05 20:51:35+00:00)
Title: make remote tools work more consistently

Two changes are needed:

1. `pref` -> `user_pref` when setting preferences related to remote tools, as the former doesn't override existing preferences that have default values (specifically, *devtools.debugger.remote-enabled* and *marionette.defaultPrefs.enabled*). I also made this change for the other prefs we set (*general.useragent.override* and *power.screen.timeout*), so they should start working more consistently too. And I removed *b2g.remote-js.enabled*, which doesn't matter now that the repl it controls has been removed from Gaia.
2. Disable OOP for Mac in addition to Windows and Linux. The remote debugger doesn't yet handle OOP apps, so you can't use it to debug those apps. OOP was already disabled on Windows and Linux for other reasons. Now it's disabled on Mac too for this one.