Bug 130998

Summary: [ATK] AX: Hang from atk_text_get_text_at_offset for sentence boundary at final offset
Product: WebKit Reporter: Joanmarie Diggs <jdiggs>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, jarekczek, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Linux   
Bug Depends on:    
Bug Blocks: 25531    
Attachments:
Description Flags
test case
none
accessible-event listener none

Description Joanmarie Diggs 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
<rdar://problem/16480932>
Comment 2 Joanmarie Diggs 2014-03-31 18:08:20 PDT
Created attachment 228224 [details]
accessible-event listener