<?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>125996</bug_id>
          
          <creation_ts>2013-12-19 10:02:29 -0800</creation_ts>
          <short_desc>[MAC] uiElementForSearchPredicate() not consistent between DRT and WKTR</short_desc>
          <delta_ts>2013-12-20 11:36:01 -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>All</rep_platform>
          <op_sys>All</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mario Sanchez Prada">mario</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>matthew_hanson</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>961421</commentid>
    <comment_count>0</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-12-19 10:02:29 -0800</bug_when>
    <thetext>As commented in https://bugs.webkit.org/show_bug.cgi?id=125854#c15, there is an issue with the implementation of uiElementForSearchPredicate() for the Mac, since the result in layout tests is not consistent when executed in DRT and WKTR, when the search query fails (should return no results):

  - DRT: if the search fails it *now* returns NULL 
  - WKTR: if the search fails it returns a valid AccessibilityUIElement wrapping a NULL

I found this issue with platform/mac/accessibility/search-when-element-starts-in-table.html, so I&apos;m skipping it for the mac platform</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>961425</commentid>
    <comment_count>1</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2013-12-19 10:10:18 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; [...]
&gt; I found this issue with platform/mac/accessibility/search-when-element-starts-
&gt; in-table.html, so I&apos;m skipping it for the mac platform

I meant, for mac-wk2 (as the result in WK1 is the expected one already)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>961948</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-12-20 11:36:01 -0800</bug_when>
    <thetext>&lt;rdar://problem/15710135&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>