[ATK] AX: Hang from atk_text_get_text_at_offset for sentence boundary at final offset
https://bugs.webkit.org/show_bug.cgi?id=130998
Summary [ATK] AX: Hang from atk_text_get_text_at_offset for sentence boundary at fina...
Joanmarie Diggs
Reported 2014-03-31 18:06:35 PDT
Created attachment 228223 [details] test case Steps to reproduce: 1. Launch the attached accessible-event listener in a terminal 2. Launch the test case in GtkLauncher or MiniBrowser 3. Resize the browser window so that the text wraps, splitting "text-based" from "setup" 4. Tab to give focus to the link in the test case Expected results: GtkLauncher/MiniBrowser's WebKit process would not hang. Actual results: GtkLauncher/MiniBrowser's WebKit process hangs. Important: If in step 3 you do not have the text split/wrapped as described, there will not be a hang. Changing other aspects of the test case (e.g. the style, removing the final div's text, removing the whitespace in the source before setup) also makes the hang go away. Seems you need just the right combination of things, but when you have them the hang is 100% reliable.
Attachments
test case (233 bytes, text/html)
2014-03-31 18:06 PDT, Joanmarie Diggs
no flags
accessible-event listener (577 bytes, text/x-python)
2014-03-31 18:08 PDT, Joanmarie Diggs
no flags
Radar WebKit Bug Importer
Comment 1 2014-03-31 18:06:57 PDT
Joanmarie Diggs
Comment 2 2014-03-31 18:08:20 PDT
Created attachment 228224 [details] accessible-event listener
Note You need to log in before you can comment on or make changes to this bug.