<?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>237803</bug_id>
          
          <creation_ts>2022-03-11 19:54:00 -0800</creation_ts>
          <short_desc>[ATSPI] accessibility/dropdown-value.html is timing out since added in 248145@main</short_desc>
          <delta_ts>2022-03-18 01:30:21 -0700</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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=237483</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lauro Moura">lmoura</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1850670</commentid>
    <comment_count>0</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-03-11 19:54:00 -0800</bug_when>
    <thetext>accessibility/dropdown-value.html

Added in 248145@main

Times out awaiting for the value of `axSelect.stringValue` to become `&quot;cat&quot;`, which never happens.

This also makes the expectation differ in the debug message, as it&apos;s empty.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1850671</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-03-11 19:54:10 -0800</bug_when>
    <thetext>&lt;rdar://problem/90193311&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851275</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2022-03-15 07:01:44 -0700</bug_when>
    <thetext>The problem is that the test expects that select element exposes the selected item text as string value. That&apos;s not the case of ATK/ATSPI. We can make it work in all platforms by waiting for the selected index to change instead (selectedChildAtIndex). If the intention of the test is to specifically check the string value, then it&apos;s better to move it under mac platform dir.

Btw, Andrés, please don&apos;t skip tests that aren&apos;t platform specific for GTK, because we might not notice it. If a test is failing for GTK just add us to the CC. If you are in a hurry, it&apos;s better to land the patch with the test failing for GTK than skipped for GTK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851291</commentid>
    <comment_count>3</comment_count>
    <who name="Andres Gonzalez">andresg_22</who>
    <bug_when>2022-03-15 07:38:15 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #2)
&gt; The problem is that the test expects that select element exposes the
&gt; selected item text as string value. That&apos;s not the case of ATK/ATSPI. We can
&gt; make it work in all platforms by waiting for the selected index to change
&gt; instead (selectedChildAtIndex). If the intention of the test is to
&gt; specifically check the string value, then it&apos;s better to move it under mac
&gt; platform dir.
&gt; 
&gt; Btw, Andrés, please don&apos;t skip tests that aren&apos;t platform specific for GTK,
&gt; because we might not notice it. If a test is failing for GTK just add us to
&gt; the CC. If you are in a hurry, it&apos;s better to land the patch with the test
&gt; failing for GTK than skipped for GTK.

Sorry about that, thought you were monitoring the GTK skips. Will do as suggested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851293</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2022-03-15 07:45:06 -0700</bug_when>
    <thetext>(In reply to Andres Gonzalez from comment #3)
&gt; (In reply to Carlos Garcia Campos from comment #2)
&gt; &gt; The problem is that the test expects that select element exposes the
&gt; &gt; selected item text as string value. That&apos;s not the case of ATK/ATSPI. We can
&gt; &gt; make it work in all platforms by waiting for the selected index to change
&gt; &gt; instead (selectedChildAtIndex). If the intention of the test is to
&gt; &gt; specifically check the string value, then it&apos;s better to move it under mac
&gt; &gt; platform dir.
&gt; &gt; 
&gt; &gt; Btw, Andrés, please don&apos;t skip tests that aren&apos;t platform specific for GTK,
&gt; &gt; because we might not notice it. If a test is failing for GTK just add us to
&gt; &gt; the CC. If you are in a hurry, it&apos;s better to land the patch with the test
&gt; &gt; failing for GTK than skipped for GTK.
&gt; 
&gt; Sorry about that, thought you were monitoring the GTK skips. Will do as
&gt; suggested.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851294</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2022-03-15 07:46:08 -0700</bug_when>
    <thetext>So, would it be ok to change the test to wait for selected children change instead?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1851298</commentid>
    <comment_count>6</comment_count>
    <who name="Andres Gonzalez">andresg_22</who>
    <bug_when>2022-03-15 08:11:01 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #5)
&gt; So, would it be ok to change the test to wait for selected children change
&gt; instead?

I think so, as you said we may use selectedChildAtIndex, and perhaps selectedChildrenCount. Can you log the stringValue in GTK for the selection?  It would be good to make sure that we don&apos;t only have the right selected object but that it also has the right text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1852197</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2022-03-17 02:07:07 -0700</bug_when>
    <thetext>(In reply to Andres Gonzalez from comment #6)
&gt; (In reply to Carlos Garcia Campos from comment #5)
&gt; &gt; So, would it be ok to change the test to wait for selected children change
&gt; &gt; instead?
&gt; 
&gt; I think so, as you said we may use selectedChildAtIndex, and perhaps
&gt; selectedChildrenCount. Can you log the stringValue in GTK for the selection?
&gt; It would be good to make sure that we don&apos;t only have the right selected
&gt; object but that it also has the right text.

Menu items don&apos;t expose the value as string value either, but as the name, so I would need to add an exception in WTR. So, maybe the easiest solution after all is to add the exception and leave the test as is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1852206</commentid>
    <comment_count>8</comment_count>
      <attachid>454945</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2022-03-17 02:48:34 -0700</bug_when>
    <thetext>Created attachment 454945
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1852648</commentid>
    <comment_count>9</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2022-03-18 01:30:21 -0700</bug_when>
    <thetext>Committed r291471 (248587@trunk): &lt;https://commits.webkit.org/248587@trunk&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>454945</attachid>
            <date>2022-03-17 02:48:34 -0700</date>
            <delta_ts>2022-03-17 18:58:56 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>wktr-atspi-combo-string-value.diff</filename>
            <type>text/plain</type>
            <size>3623</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5nZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxv
ZwppbmRleCAwOTYzY2E0ZGQzYTQuLmNiMTRhODFmZTk4YSAxMDA2NDQKLS0tIGEvTGF5b3V0VGVz
dHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3RzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEzIEBA
CisyMDIyLTAzLTE3ICBDYXJsb3MgR2FyY2lhIENhbXBvcyAgPGNnYXJjaWFAaWdhbGlhLmNvbT4K
KworICAgICAgICBbQVRTUEldIGFjY2Vzc2liaWxpdHkvZHJvcGRv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bnQtPnVwZGF0ZUJh
Y2tpbmdTdG9yZSgpOwogICAgIGF1dG8gdmFsdWUgPSBtYWtlU3RyaW5nKCJBWFZhbHVlOiAiLCBt
X2VsZW1lbnQtPnRleHQoKS5yZXBsYWNlKCJcbiIsICI8XFxuPiIpLnJlcGxhY2Uob2JqZWN0UmVw
bGFjZW1lbnRDaGFyYWN0ZXIsICI8b2JqPiIpKTsKICAgICByZXR1cm4gT3BhcXVlSlNTdHJpbmc6
OnRyeUNyZWF0ZSh2YWx1ZSkubGVha1JlZigpOwogfQo=
</data>
<flag name="review"
          id="482753"
          type_id="1"
          status="+"
          setter="andresg_22"
    />
    <flag name="commit-queue"
          id="482906"
          type_id="3"
          status="-"
          setter="ews-feeder"
    />
          </attachment>
      

    </bug>

</bugzilla>