<?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>71665</bug_id>
          
          <creation_ts>2011-11-07 04:39:27 -0800</creation_ts>
          <short_desc>[GTK] platform/gtk/accessibility/name-from-label.html fails</short_desc>
          <delta_ts>2011-11-22 00:30:57 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Mario Sanchez Prada">mario</assigned_to>
          <cc>mario</cc>
    
    <cc>pnormand</cc>
    
    <cc>xan.lopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>497070</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2011-11-07 04:39:27 -0800</bug_when>
    <thetext>Currently skipped in GTK as anonymous flaky but failure looks consistent here:

--- /home/phil/gst/jhbuild/build/WebKit/WebKitBuild/Release/layout-test-results/platform/gtk/accessibility/name-from-label-expected.txt
+++ /home/phil/gst/jhbuild/build/WebKit/WebKitBuild/Release/layout-test-results/platform/gtk/accessibility/name-from-label-actual.txt
@@ -4,8 +4,8 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS child.role is &apos;AXRole: entry&apos;
-PASS child.title is &apos;AXTitle: Full Name:&apos;
+FAIL child.role should be AXRole: entry. Was AXRole: paragraph.
+FAIL child.title should be AXTitle: Full Name:. Was AXTitle: .
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>506903</commentid>
    <comment_count>1</comment_count>
      <attachid>116073</attachid>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2011-11-21 06:15:31 -0800</bug_when>
    <thetext>Created attachment 116073
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>506906</commentid>
    <comment_count>2</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2011-11-21 06:19:51 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Created an attachment (id=116073) [details]
&gt; Patch

It seems this has been a problem even before November the 7th (tried with a commit from Nov 1st, and was failing as well there). I have been trying to find out the exact point where it start failing but couldn&apos;t find it. 

However, as per visual inspection in the code, I now wonder how it could be working fine before, since its obvious that the form object in the middle was not being taking into account when it should, so either form objects were explicitly not being exposed before (which is not the case I think) or there was a bug somewhere else (e.g. determining when the webArea is focusable, determining if a form is visible or not...) that was fixed at some point recently, unleashing the problem with this wrongly implemented layout test (that I wrote btw, so assuming my fault on that :().

My guessing is that the reason why it started failing recently was the later one (a bug somewhere else that got fixed, unveiling the problem with this test), so that&apos;s why I propose now this patch, which is basically a rewrite of the layout test that properly considers the a11y hierarchy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>506908</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2011-11-21 06:23:00 -0800</bug_when>
    <thetext>It was skipped *before* I opened this bug, which I did when I moved the flaky tests in tests_expectations.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>506936</commentid>
    <comment_count>4</comment_count>
      <attachid>116073</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2011-11-21 07:15:53 -0800</bug_when>
    <thetext>Comment on attachment 116073
Patch

Looks sane to me!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>507439</commentid>
    <comment_count>5</comment_count>
    <who name="Mario Sanchez Prada">mario</who>
    <bug_when>2011-11-22 00:30:57 -0800</bug_when>
    <thetext>Committed r100979: &lt;http://trac.webkit.org/changeset/100979&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>116073</attachid>
            <date>2011-11-21 06:15:31 -0800</date>
            <delta_ts>2011-11-21 07:15:53 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-71665-20111121151529.patch</filename>
            <type>text/plain</type>
            <size>2707</size>
            <attacher name="Mario Sanchez Prada">mario</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTAwODg4CmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggNjlhODYwYjEzYmM5ODg5NThlNzU5
YzJmODg2MGY1MjczYzMxYmY0NC4uMmE3NjYzNTNkMjQ3ODRkNTlhNmU0Y2U0YmZlYTg1ODUzZmQ0
YjZmMSAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDExLTExLTIxICBNYXJpbyBTYW5jaGV6IFBy
YWRhICA8bXNhbmNoZXpAaWdhbGlhLmNvbT4KKworICAgICAgICBbR1RLXSBwbGF0Zm9ybS9ndGsv
YWNjZXNzaWJpbGl0eS9uYW1lLWZyb20tbGFiZWwuaHRtbCBmYWlscworICAgICAgICBodHRwczov
L2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NzE2NjUKKworICAgICAgICBSZXZpZXdl
ZC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pdj4KIDxzY3JpcHQ+CiAgIHZhciB3ZWJBcmVhOwotICB2YXIg
Y2hpbGQ7CisgIHZhciBmb3JtOwogCiAgIGZ1bmN0aW9uIGNoZWNrUmVzdWx0cygpIHsKICAgICAv
LyBBY3R1YWxseSBjaGVjayB0aGUgcmVzdWx0cwotICAgIHNob3VsZEJlKCJjaGlsZC5yb2xlIiwg
IidBWFJvbGU6IGVudHJ5JyIpOwotICAgIHNob3VsZEJlKCJjaGlsZC50aXRsZSIsICInQVhUaXRs
ZTogRnVsbCBOYW1lOiciKTsKKyAgICBlbnRyeSA9IGZvcm0uY2hpbGRBdEluZGV4KDEpOworICAg
IHNob3VsZEJlKCJlbnRyeS5yb2xlIiwgIidBWFJvbGU6IGVudHJ5JyIpOworICAgIHNob3VsZEJl
KCJlbnRyeS50aXRsZSIsICInQVhUaXRsZTogRnVsbCBOYW1lOiciKTsKICAgICBmaW5pc2hKU1Rl
c3QoKTsKICAgfQogCkBAIC0zMCw3ICszMSw3IEBACiAKICAgICBkb2N1bWVudC5nZXRFbGVtZW50
QnlJZCgiYm9keSIpLmZvY3VzKCk7CiAgICAgd2ViQXJlYSA9IGFjY2Vzc2liaWxpdHlDb250cm9s
bGVyLmZvY3VzZWRFbGVtZW50OwotICAgIGNoaWxkID0gd2ViQXJlYS5jaGlsZEF0SW5kZXgoMSk7
CisgICAgZm9ybSA9IHdlYkFyZWEuY2hpbGRBdEluZGV4KDApOwogCiAgICAgLy8gQ2hlY2sgcmVz
dWx0cyBvbiBpZGxlIHRvIGVuc3VyZSBsYXlvdXQoKSBpcyBkb25lCiAgICAgd2luZG93LnNldFRp
bWVvdXQoImNoZWNrUmVzdWx0cygpIiwgMCk7Cg==
</data>
<flag name="review"
          id="115134"
          type_id="1"
          status="+"
          setter="pnormand"
    />
          </attachment>
      

    </bug>

</bugzilla>