Bug 174849 - AX: should dispatch accessibilityPerformPressAction async on MacOS
Summary: AX: should dispatch accessibilityPerformPressAction async on MacOS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-07-25 18:05 PDT by Nan Wang
Modified: 2017-08-07 11:14 PDT (History)
11 users (show)

See Also:


Attachments
patch (9.87 KB, patch)
2017-07-25 18:11 PDT, Nan Wang
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from ews102 for mac-elcapitan (1.00 MB, application/zip)
2017-07-25 19:08 PDT, Build Bot
no flags Details
patch (12.10 KB, patch)
2017-07-25 19:12 PDT, Nan Wang
cfleizach: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nan Wang 2017-07-25 18:05:12 PDT
If by performing press action on an object causes an alert to appear, VO will hang, because accessibilityPerformPressAction never gets a chance to return

<rdar://problem/32933114>
Comment 1 Nan Wang 2017-07-25 18:11:14 PDT
Created attachment 316414 [details]
patch
Comment 2 Build Bot 2017-07-25 19:08:57 PDT
Comment on attachment 316414 [details]
patch

Attachment 316414 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/4187686

New failing tests:
accessibility/mac/search-predicate.html
media/media-controls-accessibility.html
Comment 3 Build Bot 2017-07-25 19:08:58 PDT
Created attachment 316419 [details]
Archive of layout-test-results from ews102 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 4 Nan Wang 2017-07-25 19:12:54 PDT
Created attachment 316421 [details]
patch

Fixed the test failure
Comment 5 chris fleizach 2017-07-26 00:18:06 PDT
Comment on attachment 316421 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=316421&action=review

> LayoutTests/accessibility/mac/search-predicate.html:283
>          startElement = accessibilityController.focusedElement.childAtIndex(0);

looks like this block should be indented now
Comment 6 Nan Wang 2017-07-26 00:37:56 PDT
(In reply to chris fleizach from comment #5)
> Comment on attachment 316421 [details]
> patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=316421&action=review
> 
> > LayoutTests/accessibility/mac/search-predicate.html:283
> >          startElement = accessibilityController.focusedElement.childAtIndex(0);
> 
> looks like this block should be indented now

Okay.
Comment 7 Nan Wang 2017-07-26 00:39:03 PDT
Committed r219906: <http://trac.webkit.org/changeset/219906>