<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>130998</bug_id>
          
          <creation_ts>2014-03-31 18:06:35 -0700</creation_ts>
          <short_desc>[ATK] AX: Hang from atk_text_get_text_at_offset for sentence boundary at final offset</short_desc>
          <delta_ts>2017-03-11 10:58:46 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>25531</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Joanmarie Diggs">jdiggs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>jarekczek</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>996072</commentid>
    <comment_count>0</comment_count>
      <attachid>228223</attachid>
    <who name="Joanmarie Diggs">jdiggs</who>
    <bug_when>2014-03-31 18:06:35 -0700</bug_when>
    <thetext>Created attachment 228223
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 &quot;text-based&quot; from &quot;setup&quot;
4. Tab to give focus to the link in the test case

Expected results: GtkLauncher/MiniBrowser&apos;s WebKit process would not hang.

Actual results: GtkLauncher/MiniBrowser&apos;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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>996073</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-03-31 18:06:57 -0700</bug_when>
    <thetext>&lt;rdar://problem/16480932&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>996074</commentid>
    <comment_count>2</comment_count>
      <attachid>228224</attachid>
    <who name="Joanmarie Diggs">jdiggs</who>
    <bug_when>2014-03-31 18:08:20 -0700</bug_when>
    <thetext>Created attachment 228224
accessible-event listener</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>228223</attachid>
            <date>2014-03-31 18:06:35 -0700</date>
            <delta_ts>2014-03-31 18:06:35 -0700</delta_ts>
            <desc>test case</desc>
            <filename>hang.html</filename>
            <type>text/html</type>
            <size>233</size>
            <attacher name="Joanmarie Diggs">jdiggs</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8c3R5bGU+CmJvZHksIHAgeyBtYXJnaW46IDA7IHBhZGRpbmc6IDA7IH0K
PC9zdHlsZT4KPC9oZWFkPgo8Ym9keT4KPHA+ClBhc3MgdGhlIC0tdGV4dC1zZXR1cCBvcHRpb24g
dG8gT3JjYSB0byByZS1ydW4gT3JjYSdzIDxhIGlkPSJsaW5rIiBocmVmPSJmb28iPnRleHQtYmFz
ZWQKICAgICAgICAgICAgc2V0dXA8L2E+Lgo8L3A+CjxkaXY+Zm9vPC9kaXY+CjwvYm9keT4KPC9o
dG1sPgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>228224</attachid>
            <date>2014-03-31 18:08:20 -0700</date>
            <delta_ts>2014-03-31 18:08:20 -0700</delta_ts>
            <desc>accessible-event listener</desc>
            <filename>sentences.py</filename>
            <type>text/x-python</type>
            <size>577</size>
            <attacher name="Joanmarie Diggs">jdiggs</attacher>
            
              <data encoding="base64">IyEvdXNyL2Jpbi9weXRob24zCmltcG9ydCBweWF0c3BpCgpkZWYgbGlzdGVuZXIoZSk6CiAgICBp
ZiBub3QgKGUuZGV0YWlsMSBhbmQgZS5zb3VyY2UuZ2V0Um9sZSgpID09IHB5YXRzcGkuUk9MRV9M
SU5LKToKICAgICAgICByZXR1cm4KCiAgICB0cnk6CiAgICAgICAgdGV4dCA9IGUuc291cmNlLnBh
cmVudC5xdWVyeVRleHQoKQogICAgZXhjZXB0OgogICAgICAgIHByaW50KCJjcmFwIiwgZS5zb3Vy
Y2UsIGUuc291cmNlLnBhcmVudCkKICAgICAgICByZXR1cm4KICAgIGJvdW5kYXJ5ID0gcHlhdHNw
aS5URVhUX0JPVU5EQVJZX1NFTlRFTkNFX1NUQVJUCiAgICBwcmludCgiU2VudGVuY2UgYXQgc3Rh
cnQ6XHQiLCB0ZXh0LmdldFRleHRBdE9mZnNldCgwLCBib3VuZGFyeSkpCiAgICBwcmludCgiU2Vu
dGVuY2UgYXQgZW5kOlx0IiwgdGV4dC5nZXRUZXh0QXRPZmZzZXQodGV4dC5jaGFyYWN0ZXJDb3Vu
dCwgYm91bmRhcnkpKQoKcHlhdHNwaS5SZWdpc3RyeS5yZWdpc3RlckV2ZW50TGlzdGVuZXIobGlz
dGVuZXIsICJvYmplY3Q6c3RhdGUtY2hhbmdlZDpmb2N1c2VkIikKcHlhdHNwaS5SZWdpc3RyeS5z
dGFydCgpCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>