[Webkit-unassigned] [Bug 246501] New: [GTK][a11y] /WebKitGTK/TestWebKitAccessibility:/webkit/WebKitAccessibility/accessible/children-changed is failing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 13 20:24:08 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=246501
Bug ID: 246501
Summary: [GTK][a11y]
/WebKitGTK/TestWebKitAccessibility:/webkit/WebKitAcces
sibility/accessible/children-changed is failing
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lmoura at igalia.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
/WebKitGTK/TestWebKitAccessibility /webkit/WebKitAccessibility/accessible/children-changed
This exact failure is not always happening due to the SDK issue from bug246471, so I had to completely ignore fatal warnings to get to these.
EWS history shows this has been failing in a while (couldn't pick up where yet).
Notes from investigation:
* The test creates a `div` with two `p` - `foo` and `bar` - which are the accessible objects. Working fine.
* Then the test creates a new `p`, called `baz`, working fine.
* Then the test removes `foo`, working fine.
* Then the test changes the role - through JS - of `bar` and checks whether the existing object had its role changed without detach+attach
* This test fails, with the existing object still having the role `paragraph`
* If I get the children at the same position again, it already has the right `button` role
* Also, in line: https://github.com/webkit/webkit/blob/main/Tools/TestWebKitAPI/Tests/WebKitGtk/TestWebKitAccessibility.cpp#L388
* if we replace the `test->stopEventTimer(0, 0.5_s)` with an actual timer, two events are fired:
* `object:children-changed:remove` with `detail1 == 1`
* `object:children-changed:add` with `detail1 == 0`
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221014/b0332d1e/attachment.htm>
More information about the webkit-unassigned
mailing list