<?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>49477</bug_id>
          
          <creation_ts>2010-11-12 13:56:25 -0800</creation_ts>
          <short_desc>[Chromium] fast/canvas/canvas-arc-360-winding.html fails on Linux and Windows</short_desc>
          <delta_ts>2011-03-05 06:46:37 -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>All</rep_platform>
          <op_sys>All</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="Mihai Parparita">mihaip</reporter>
          <assigned_to name="Mike Reed">reed</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>helder</cc>
    
    <cc>jamesr</cc>
    
    <cc>kling</cc>
    
    <cc>reed</cc>
    
    <cc>senorblanco</cc>
    
    <cc>steven.brudenell</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>308771</commentid>
    <comment_count>0</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2010-11-12 13:56:25 -0800</bug_when>
    <thetext>See:

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#master=ChromiumWebkit&amp;tests=canvas-arc-360-winding.html&amp;showExpectations=true

Diff:

@@ -4,13 +4,13 @@
 
 
 PASS data[0] is 0
-PASS data[1] is 0
+FAIL data[1] should be 0. Was 255.
 PASS data[2] is 0
 PASS data[0] is 0
 PASS data[1] is 255
 PASS data[2] is 0
 PASS data[0] is 0
-PASS data[1] is 0
+FAIL data[1] should be 0. Was 255.
 PASS data[2] is 0
 PASS successfullyParsed is true</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>308773</commentid>
    <comment_count>1</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2010-11-12 13:57:31 -0800</bug_when>
    <thetext>Forgot a link to the revision that added the test: http://trac.webkit.org/changeset/71936</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>308775</commentid>
    <comment_count>2</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2010-11-12 13:59:23 -0800</bug_when>
    <thetext>We just render a big green rectangle on this in Skia instead of concentric circles.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362112</commentid>
    <comment_count>3</comment_count>
    <who name="Steven Brudenell">steven.brudenell</who>
    <bug_when>2011-03-03 17:20:34 -0800</bug_when>
    <thetext>any action here?

as a developer i describe this bug as &quot;chrome can&apos;t draw a torus shape with ctx.arc(), while firefox/ie9 can&quot;. this &quot;testcase fails&quot; description would indicate something&apos;s off by a pixel or philosophically wrong in an obscure case, but this is a bad bug! a common-case-is-visibly-cattywampus bug!

i claim the root cause is in WebCore/platform/graphics/skia/PathSkia.cpp -- Path::addArc just adds an oval if sweepDegrees covers a whole circle. it disregards anticlockwise and the sign of sweepDegrees in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362116</commentid>
    <comment_count>4</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-03-03 17:23:52 -0800</bug_when>
    <thetext>http://trac.webkit.org/export/80302/trunk/LayoutTests/fast/canvas/canvas-arc-360-winding.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362452</commentid>
    <comment_count>5</comment_count>
      <attachid>84737</attachid>
    <who name="Mike Reed">reed</who>
    <bug_when>2011-03-04 06:21:02 -0800</bug_when>
    <thetext>Created attachment 84737
respect anticlockwise in Path::addArc()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362458</commentid>
    <comment_count>6</comment_count>
    <who name="Steven Brudenell">steven.brudenell</who>
    <bug_when>2011-03-04 06:32:39 -0800</bug_when>
    <thetext>holy crap, that was the fastest response from any dev team i&apos;ve ever seen. thanks :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362463</commentid>
    <comment_count>7</comment_count>
      <attachid>84737</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2011-03-04 06:40:28 -0800</bug_when>
    <thetext>Comment on attachment 84737
respect anticlockwise in Path::addArc()

Looks sane, r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362520</commentid>
    <comment_count>8</comment_count>
      <attachid>84737</attachid>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2011-03-04 08:29:49 -0800</bug_when>
    <thetext>Comment on attachment 84737
respect anticlockwise in Path::addArc()

View in context: https://bugs.webkit.org/attachment.cgi?id=84737&amp;action=review

&gt; WebCore/ChangeLog:9
&gt; +        LayoutTests/fast/canvas/canvas-arc-360-winding.html

Shouldn&apos;t the TEXT entry for this in LayoutTests/platform/chromium/test_expectations.txt be removed, now that we expect it to pass?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362539</commentid>
    <comment_count>9</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2011-03-04 08:49:39 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; (From update of attachment 84737 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=84737&amp;action=review
&gt; 
&gt; &gt; WebCore/ChangeLog:9
&gt; &gt; +        LayoutTests/fast/canvas/canvas-arc-360-winding.html
&gt; 
&gt; Shouldn&apos;t the TEXT entry for this in LayoutTests/platform/chromium/test_expectations.txt be removed, now that we expect it to pass?

D&apos;oh. Yes of course.

@Mike: Please update the patch accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362597</commentid>
    <comment_count>10</comment_count>
      <attachid>84773</attachid>
    <who name="Mike Reed">reed</who>
    <bug_when>2011-03-04 10:08:13 -0800</bug_when>
    <thetext>Created attachment 84773
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362599</commentid>
    <comment_count>11</comment_count>
    <who name="Mike Reed">reed</who>
    <bug_when>2011-03-04 10:09:01 -0800</bug_when>
    <thetext>This time with the updated test_expectations.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362861</commentid>
    <comment_count>12</comment_count>
      <attachid>84773</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-03-04 20:58:54 -0800</bug_when>
    <thetext>Comment on attachment 84773
Patch

Rejecting attachment 84773 from commit-queue.

Failed to run &quot;[&apos;./Tools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;--bot-id=cr-jail-7&apos;, &apos;build-...&quot; exit_code: 2

Last 500 characters of output:
.......................................................................................................................................................................................................................
inspector ...........
inspector/audits .
inspector/audits/audits-panel-functional.html -&gt; failed

Exiting early after 1 failures. 12758 tests run.
299.28s total testing time

12757 test cases (99%) succeeded
1 test case (&lt;1%) had incorrect layout
8 test cases (&lt;1%) had stderr output

Full output: http://queues.webkit.org/results/8087853</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362869</commentid>
    <comment_count>13</comment_count>
      <attachid>84773</attachid>
    <who name="James Robinson">jamesr</who>
    <bug_when>2011-03-04 21:46:29 -0800</bug_when>
    <thetext>Comment on attachment 84773
Patch

Flake</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362879</commentid>
    <comment_count>14</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-03-04 22:29:45 -0800</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 84773:

inspector/audits/audits-panel-functional.html bug 55776 (authors: apavlov@chromium.org, pfeldman@chromium.org, and rniwa@webkit.org)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362880</commentid>
    <comment_count>15</comment_count>
      <attachid>84773</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-03-04 22:32:25 -0800</bug_when>
    <thetext>Comment on attachment 84773
Patch

Clearing flags on attachment: 84773

Committed r80409: &lt;http://trac.webkit.org/changeset/80409&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362881</commentid>
    <comment_count>16</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-03-04 22:32:31 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362942</commentid>
    <comment_count>17</comment_count>
    <who name="Stephen White">senorblanco</who>
    <bug_when>2011-03-05 06:46:37 -0800</bug_when>
    <thetext>Cool!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>84737</attachid>
            <date>2011-03-04 06:21:02 -0800</date>
            <delta_ts>2011-03-04 10:08:02 -0800</delta_ts>
            <desc>respect anticlockwise in Path::addArc()</desc>
            <filename>clockwise.diff</filename>
            <type>text/plain</type>
            <size>1375</size>
            <attacher name="Mike Reed">reed</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA4MDM0NSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTYgQEAKKzIwMTEtMDMtMDQgIE1pa2UgUmVlZCAgPHJlZWRAZ29vZ2xlLmNvbT4K
KworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBSZXNwZWN0
IGFudGljbG9ja3dpc2UgaW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SAgICAgICAgbV9wYXRoLT5hZGRPdmFsKG92YWwpOwor
ICAgICAgICBtX3BhdGgtPmFkZE92YWwob3ZhbCwgYW50aWNsb2Nrd2lzZSA/CisgICAgICAgICAg
ICBTa1BhdGg6OmtDQ1dfRGlyZWN0aW9uIDogU2tQYXRoOjprQ1dfRGlyZWN0aW9uKTsKICAgICAg
ICAgLy8gRm9yY2UgYSBtb3ZlVG8gdGhlIGVuZCBwb3NpdGlvbi4KICAgICAgICAgbV9wYXRoLT5h
cmNUbyhvdmFsLCBzdGFydERlZ3JlZXMgKyBzd2VlcERlZ3JlZXMsIDAsIHRydWUpOwogICAgIH0g
ZWxzZSB7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>84773</attachid>
            <date>2011-03-04 10:08:13 -0800</date>
            <delta_ts>2011-03-04 22:32:25 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-49477-20110304130805.patch</filename>
            <type>text/plain</type>
            <size>2725</size>
            <attacher name="Mike Reed">reed</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDgwMzYzKQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMTEtMDMtMDQgIE1pa2UgUmVl
ZCAgPHJlZWRAZ29vZ2xlLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMh
KS4KKworICAgICAgICBbQ2hyb21pdW1dIGZhc3QvY2FudmFzL2NhbnZhcy1hcmMtMzYwLXdpbmRp
bmcuaHRtbCBmYWlscyBvbiBMaW51eCBhbmQgV2luZ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