Bug 1016184 - part 3g - Disable auto-hide feature in mochitest and reftest. r=ehsan
☠☠ backed out by 1f216e2e339e ☠ ☠
authorTing-Yu Lin <tlin@mozilla.com>
Sun, 27 Jul 2014 00:21:00 +0200
changeset 196991 a52c9d67492739fbf71e391bcecf5671db9b16c5
parent 196990 ca2fd0f41a122dfb0c1e6a046abe9adcaf9b5638
child 196992 93587ce1162bfb7c99c134e5545fa0a053719710
push id47020
push usercbook@mozilla.com
push dateThu, 31 Jul 2014 06:41:00 +0000
treeherdermozilla-inbound@0893f2ef4b9a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs1016184
milestone34.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 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);