<?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>111004</bug_id>
          
          <creation_ts>2013-02-27 12:59:50 -0800</creation_ts>
          <short_desc>Layout Test accessibility/svg-remote-element.html is flaky</short_desc>
          <delta_ts>2013-03-05 19:46:21 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Philip Rogers">pdr</assigned_to>
          <cc>cfleizach</cc>
    
    <cc>dmazzoni</cc>
    
    <cc>pdr</cc>
    
    <cc>toyoshim</cc>
    
    <cc>vsevik</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>843405</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2013-02-27 12:59:50 -0800</bug_when>
    <thetext>The following layout test is flaky on linux/win

accessibility/svg-remote-element.html

--- /src/WebKit/Source/WebKit/chromium/webkit/Debug/layout-test-results/accessibility/svg-remote-element-expected.txt
+++ /src/WebKit/Source/WebKit/chromium/webkit/Debug/layout-test-results/accessibility/svg-remote-element-actual.txt
@@ -4,29 +4,29 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-container location: (7, 7)
+container location: (7, 7.5)
 Face role: AXRole: AXButton
 Face label: AXDescription: face
 FaceX: 0
-FaceY: 0
+FaceY: 0.5
 
 
 Eye role: AXRole: AXButton
 Eye label: AXDescription: left-eye
 EyeX: 103
-EyeY: 148
+EyeY: 147.5
 
 
 Nose role: AXRole: AXButton
 Nose label: AXDescription: nose
 NoseX: 193
-NoseY: 206
+NoseY: 205.5
 
 
 Mouth role: AXRole: AXButton
 Mouth label: AXDescription: smile
 MouthX: 115
-MouthY: 275
+MouthY: 274
 
 
 PASS successfullyParsed is true</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>843406</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2013-02-27 13:01:16 -0800</bug_when>
    <thetext>http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=accessibility%2Fsvg-remote-element.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>843407</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2013-02-27 13:01:35 -0800</bug_when>
    <thetext>http://trac.webkit.org/browser/trunk/LayoutTests/accessibility/svg-remote-element.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>843475</commentid>
    <comment_count>3</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2013-02-27 13:59:24 -0800</bug_when>
    <thetext>maybe making the the positions be within some sort of tolerance, like

shouldBeTrue(face.X &gt; 200 &amp;&amp; face.X &lt; 205) 

would reduce this flakiness.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>843544</commentid>
    <comment_count>4</comment_count>
    <who name="Dominic Mazzoni">dmazzoni</who>
    <bug_when>2013-02-27 15:06:02 -0800</bug_when>
    <thetext>To clarify, do you mean &quot;flaky&quot; as in sometimes succeeding and sometimes failing, or is it giving slightly different expectations on different platforms?

If it really is returning slightly different results on the same platform sometimes, what&apos;s the underlying cause?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>843547</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2013-02-27 15:08:22 -0800</bug_when>
    <thetext>The bots are seeing it sometimes return one result and sometimes another on both linux and win.  See the test-results link in comment 1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>843548</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2013-02-27 15:09:15 -0800</bug_when>
    <thetext>The diff in comment 0 is from running the test locally on my linux machine with run-webkit-tests --chromium --iterations=100 accessibility/svg-remote-element.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>843555</commentid>
    <comment_count>7</comment_count>
    <who name="chris fleizach">cfleizach</who>
    <bug_when>2013-02-27 15:17:54 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; The diff in comment 0 is from running the test locally on my linux machine with run-webkit-tests --chromium --iterations=100 accessibility/svg-remote-element.html

Following up to Dominics comment, I agree this is probably exposing an more fundamental problem with the layout of SVG remote items or with the values it reports. It&apos;s unlikely that the actual cause is accessibility. However, I&apos;m not opposed to making the test more tolerant, given that the differences are so small</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>843563</commentid>
    <comment_count>8</comment_count>
    <who name="Dominic Mazzoni">dmazzoni</who>
    <bug_when>2013-02-27 15:29:22 -0800</bug_when>
    <thetext>pdr@ graciously volunteered to take a look and see if the bug is in SVG.

In the meantime, let&apos;s not mask the problem by adding tolerance...at least until we understand it better.

I&apos;d rather mark the test as flaky in TestExpectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>843621</commentid>
    <comment_count>9</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2013-02-27 17:14:23 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; pdr@ graciously volunteered to take a look and see if the bug is in SVG.
&gt; 
&gt; In the meantime, let&apos;s not mask the problem by adding tolerance...at least until we understand it better.
&gt; 
&gt; I&apos;d rather mark the test as flaky in TestExpectations.

Small update: running with --run-singly does not expose the flakiness, so I think this is likely a state issue between tests.

The test fails due to differences in the following values: container.clickPointY, container.clickPointX, container.height and container.width.

Good: clickPointX=208, clickPointY=208, width=400, height=400
Bad: clickPointX=56, clickPointY=18, width=96, height=19

I don&apos;t see a logical source for these values other than accessibilityController containing stale state.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>848395</commentid>
    <comment_count>10</comment_count>
    <who name="Philip Rogers">pdr</who>
    <bug_when>2013-03-05 19:46:21 -0800</bug_when>
    <thetext>*** Bug 111062 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>