Bug 969827 - Map a preference to a Gaia setting to configure the jank threshold. r=fabrice

This commit is contained in:
Vivien Nicolas 2014-02-15 01:45:44 +01:00
parent 36d071027d
commit 4c68758793

View File

@ -235,6 +235,10 @@ SettingsListener.observe('devtools.overlay', false, (value) => {
}
});
SettingsListener.observe('devtools.eventlooplag.threshold', 100, function(value) {
Services.prefs.setIntPref('devtools.eventlooplag.threshold', value);
});
// =================== Debugger / ADB ====================
#ifdef MOZ_WIDGET_GONK