Bug 942021 - Reduce the delay blocking events in order to show the highlight. r=fabrice
authorVivien Nicolas <vnicolas@mozilla.com>
Tue, 26 Nov 2013 14:50:21 +0100
changeset 157530 142b7b93b58b03ad3e30275ccedaa283f432b54c
parent 157529 28624ec0e7c89e727bde2a23aedfe9b3b5f3be52
child 157531 27327f3e29437b92cd7f94899c19392b45c6ad59
push id25716
push userkwierso@gmail.com
push dateWed, 27 Nov 2013 01:32:11 +0000
treeherdermozilla-central@d822990ba9ee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfabrice
bugs942021
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 942021 - Reduce the delay blocking events in order to show the highlight. r=fabrice
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -4533,17 +4533,17 @@ pref("ril.numRadioInterfaces", 0);
 // might be executing a pan gesture, how long do we wait before
 // tentatively deciding the gesture is actually a tap and activating
 // the target element?
 pref("ui.touch_activation.delay_ms", 100);
 
 // If the user has clicked an element, how long do we keep the
 // :active state before it is cleared by the mouse sequences
 // fired after a touchstart/touchend.
-pref("ui.touch_activation.duration_ms", 100);
+pref("ui.touch_activation.duration_ms", 10);
 
 // nsMemoryInfoDumper can watch a fifo in the temp directory and take various
 // actions when the fifo is written to.  Disable this in general.
 pref("memory_info_dumper.watch_fifo", false);
 
 #ifdef MOZ_CAPTIVEDETECT
 pref("captivedetect.maxWaitingTime", 5000);
 pref("captivedetect.pollingTime", 3000);