Skip to content
  • samuel_white@apple.com's avatar
    AX: AXShowMenu doesn't always work. · 40d7d133
    samuel_white@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=123649
    
    Reviewed by Chris Fleizach.
    
    No new tests, the change occurs in a code path that forces the context menu to show which
    locks up DRT if we try to test it (platform menu is shown). The change itself gives the mouse
    event handler a chance to handle our platform mouse event BEFORE the event ends up in the show
    context menu machinery. This is necessary because without it, the element will not become
    focused. Without focus, accessibility shows different/less menu items than a mouse click. The
    end result is that context menus shown via accessibility are consistent with menus shown via click.
    
    * page/ContextMenuController.cpp:
    (WebCore::ContextMenuController::showContextMenuAt):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    40d7d133