From 9ad7f135df9a76ca548ab11861f1a6ccb8b26797 Mon Sep 17 00:00:00 2001 From: Eitan Isaacson Date: Tue, 29 Mar 2022 20:12:25 +0000 Subject: [PATCH] Bug 1758540 - Pref on accessibility cache in Android. r=morgan Differential Revision: https://phabricator.services.mozilla.com/D141638 --- .../java/org/mozilla/geckoview/test/AccessibilityTest.kt | 6 ------ modules/libpref/init/StaticPrefList.yaml | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AccessibilityTest.kt b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AccessibilityTest.kt index 10fc5670394c..8f95a088d5c0 100644 --- a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AccessibilityTest.kt +++ b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AccessibilityTest.kt @@ -1298,9 +1298,6 @@ class AccessibilityTest : BaseSessionTest() { } @Test fun testRemoteAccessibilityFocusIframe() { - // TODO: Bug 1758540 - assumeThat(sessionRule.env.isFission, equalTo(false)) - testAccessibilityFocusIframe(REMOTE_IFRAME); } @@ -1334,9 +1331,6 @@ class AccessibilityTest : BaseSessionTest() { @Setting(key = Setting.Key.FULL_ACCESSIBILITY_TREE, value = "true") @Test fun testRemoteIframeTree() { - // TODO: Bug 1758540 - assumeThat(sessionRule.env.isFission, equalTo(false)) - testAccessibilityFocusIframe(REMOTE_IFRAME); } diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index eb3628ca3aaa..156c9a0ebe8a 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -221,7 +221,11 @@ # the parent process. - name: accessibility.cache.enabled type: bool +#ifdef ANDROID + value: true +#else value: false +#endif mirror: once #---------------------------------------------------------------------------