Bug 228915 - [ATK] accessibility/selected-state-changed-notifications.html is timing out since added in r280633
Summary: [ATK] accessibility/selected-state-changed-notifications.html is timing out s...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-09 08:13 PDT by Lauro Moura
Modified: 2021-08-09 08:14 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2021-08-09 08:13:41 PDT
accessibility/selected-state-changed-notifications.html

Added in r280633 (240246@main)

The test expects the notification AXSelectedCellsChanged to be emitted to increase the count, which never happens. This causes the first waitfor call to hang.

Inspecting the test, only the following events are emitted:

AXChildrenAdded
AXChildrenAdded
AXChildrenAdded
AXChildrenAdded
AXChildrenAdded
AXChildrenAdded
AXChildrenAdded
AXChildrenAdded
AXChildrenAdded
AXChildrenAdded
AXLoadComplete
AXElementBusyChanged

In a naive attempt to mimic the mac-specific parts of the patch, I tried adding the following to AXObjectCache::postPlatformNotification, but nothing seems to have changed:

    case AXSelectedStateChanged:
        atk_object_notify_state_change(axObject, ATK_STATE_SELECTED, coreObject->isSelected());
        break;
Comment 1 Radar WebKit Bug Importer 2021-08-09 08:13:53 PDT
<rdar://problem/81695884>