Bug 1016184 - Part 3g: Disable auto-hide feature in mochitest and reftest. r=ehsan
authorTing-Yu Lin <tlin@mozilla.com>
Sun, 27 Jul 2014 00:21:00 +0200
changeset 198012 5de01e536c0d3464feb7b86dfa64825f3fd2e7cb
parent 198011 a0497472946e6358fa55cdbbd9533bf2e950a7c0
child 198013 8ca7975542e288a106fddece56d602e6b2e9cecd
push id1036
push userrnewman@mozilla.com
push dateWed, 06 Aug 2014 02:14:58 +0000
treeherderservices-central@3fd543e150c8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1016184
milestone34.0a1
Bug 1016184 - Part 3g: Disable auto-hide feature in mochitest and reftest. r=ehsan
layout/tools/reftest/reftest-preferences.js
testing/profiles/prefs_b2g_unittest.js
--- a/layout/tools/reftest/reftest-preferences.js
+++ b/layout/tools/reftest/reftest-preferences.js
@@ -41,8 +41,11 @@
     // Disable interruptible reflow since (1) it's normally not going to
     // happen, but (2) it might happen if we somehow end up with both
     // pending user events and clock skew.  So to avoid having to change
     // MakeProgress to deal with waiting for interruptible reflows to
     // complete for a rare edge case, we just disable interruptible
     // reflow so that that rare edge case doesn't lead to reftest
     // failures.
     branch.setBoolPref("layout.interruptible-reflow.enabled", false);
+    // Disable the auto-hide feature of touch caret to avoid potential
+    // intermittent issues.
+    branch.setIntPref("touchcaret.expiration.time", 0);
--- a/testing/profiles/prefs_b2g_unittest.js
+++ b/testing/profiles/prefs_b2g_unittest.js
@@ -3,8 +3,9 @@
 user_pref("b2g.system_manifest_url","app://test-container.gaiamobile.org/manifest.webapp");
 user_pref("b2g.system_startup_url","app://test-container.gaiamobile.org/index.html");
 user_pref("dom.ipc.browser_frames.oop_by_default", false);
 user_pref("dom.ipc.tabs.disabled", false);
 user_pref("dom.mozBrowserFramesEnabled", "%(OOP)s");
 user_pref("dom.mozBrowserFramesWhitelist","app://test-container.gaiamobile.org,http://mochi.test:8888");
 user_pref("dom.testing.datastore_enabled_for_hosted_apps", true);
 user_pref("marionette.force-local", true);
+user_pref("touchcaret.expiration.time", 0);