Bug 130998 - [ATK] AX: Hang from atk_text_get_text_at_offset for sentence boundary at final offset
Summary: [ATK] AX: Hang from atk_text_get_text_at_offset for sentence boundary at fina...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Blocks: 25531
  Show dependency treegraph
Reported: 2014-03-31 18:06 PDT by Joanmarie Diggs (irc: joanie)
Modified: 2017-03-11 10:58 PST (History)
3 users (show)

See Also:

test case (233 bytes, text/html)
2014-03-31 18:06 PDT, Joanmarie Diggs (irc: joanie)
no flags Details
accessible-event listener (577 bytes, text/x-python)
2014-03-31 18:08 PDT, Joanmarie Diggs (irc: joanie)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joanmarie Diggs (irc: joanie) 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.
Comment 1 Radar WebKit Bug Importer 2014-03-31 18:06:57 PDT
Comment 2 Joanmarie Diggs (irc: joanie) 2014-03-31 18:08:20 PDT
Created attachment 228224 [details]
accessible-event listener