Skip to content

Instantly share code, notes, and snippets.

@jaredhirsch
Created January 24, 2014 23:18
Show Gist options
  • Save jaredhirsch/8608817 to your computer and use it in GitHub Desktop.
Save jaredhirsch/8608817 to your computer and use it in GitHub Desktop.
firefox accounts prefs
// FxA-related prefs from sam
user_pref("dom.identity.enabled", true);
user_pref("toolkit.identity.debug", true);
user_pref("dom.inter-app-communication-api.enabled", true);
user_pref("dom.identity.syntheticEventsOk", true);
// use the old version of the server until sam has fixed bug 943521
user_pref("identity.fxaccounts.auth.uri", "https://api-accounts-legacy.dev.lcip.org/v1");
// enable debugging of certified/system apps
user_pref("devtools.debugger.forbid-certified-apps", false);
// some other prefs copied from
// https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Build_System_Primer#Customizing_the_preferences
// this enables marionette which lets you run performance tests
// see https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Testing/Gaia_performance_tests
user_pref("marionette.defaultPrefs.enabled", true);
// this sets the port for remote debugging your application on the device
// XXX I am using 6000, the default, instead of the weird 60,000 used in the MDN example
user_pref("devtools.debugger.remote-port", 6000);
// this enables the remote debugger
user_pref("devtools.debugger.remote-enabled", true);
// this outputs debug information about the Radio Interface Layer in logcat
user_pref("ril.debugging.enabled", true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment