Bug 928833 - Turn on event-regions based hit-testing in APZ. r=botond
authorKartikaya Gupta <kgupta@mozilla.com>
Fri, 02 Jan 2015 17:07:27 -0500
changeset 247736 8564f04a6f14f9b5f5a5ef7f46f2cbeacfda1318
parent 247735 8ccf2511fe61f918839a72b5b4ea3cbb76bb583c
child 247737 b12bf3c3d05a52c58f51aeb2e4d237046bdfa6b0
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond
bugs928833
milestone37.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 928833 - Turn on event-regions based hit-testing in APZ. r=botond
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -1015,16 +1015,19 @@ pref("apz.subframe.enabled", true);
 // Overscroll-related settings
 pref("apz.overscroll.enabled", true);
 pref("apz.overscroll.stretch_factor", "0.15");
 pref("apz.overscroll.spring_stiffness", "0.002");
 pref("apz.overscroll.spring_friction", "0.02");
 pref("apz.overscroll.stop_distance_threshold", "5.0");
 pref("apz.overscroll.stop_velocity_threshold", "0.01");
 
+// For event-regions based hit-testing
+pref("layout.event-regions.enabled", true);
+
 // This preference allows FirefoxOS apps (and content, I think) to force
 // the use of software (instead of hardware accelerated) 2D canvases by
 // creating a context like this:
 //
 //   canvas.getContext('2d', { willReadFrequently: true })
 //
 // Using a software canvas can save memory when JS calls getImageData()
 // on the canvas frequently. See bug 884226.