Bug 1647828 - Block moxPerformPress selector on non-actionable nodes. r=morgan, a=jcristau
authorEitan Isaacson <eitan@monotonous.org>
Tue, 23 Jun 2020 19:21:28 +0000
changeset 600874 b5978abe3238692e75bb2877def29ac83148d777
parent 600873 1c385297d8fa1c2afdd4777fa61415d61054fd95
child 600875 9ec0743afec64d78dd18cae6dded9a53ef616266
push id2364
push userjcristau@mozilla.com
push dateThu, 25 Jun 2020 15:29:58 +0000
treeherdermozilla-release@52486654c09a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmorgan, jcristau
bugs1647828
milestone78.0
Bug 1647828 - Block moxPerformPress selector on non-actionable nodes. r=morgan, a=jcristau Differential Revision: https://phabricator.services.mozilla.com/D80712
accessible/mac/mozAccessible.mm
--- a/accessible/mac/mozAccessible.mm
+++ b/accessible/mac/mozAccessible.mm
@@ -183,17 +183,17 @@ static const uint64_t kCacheInitialized 
 
 - (mozilla::a11y::AccessibleOrProxy)geckoAccessible {
   return mGeckoAccessible;
 }
 
 #pragma mark - MOXAccessible protocol
 
 - (BOOL)moxBlockSelector:(SEL)selector {
-  if (selector == @selector(performPress)) {
+  if (selector == @selector(moxPerformPress)) {
     uint8_t actionCount = mGeckoAccessible.IsAccessible()
                               ? mGeckoAccessible.AsAccessible()->ActionCount()
                               : mGeckoAccessible.AsProxy()->ActionCount();
 
     // If we have no action, we don't support press, so return YES.
     return actionCount == 0;
   }