<?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>79718</bug_id>
          
          <creation_ts>2012-02-27 17:02:37 -0800</creation_ts>
          <short_desc>REGRESSION(r109016): TransparencyWin unit tests failing on Chromium</short_desc>
          <delta_ts>2012-02-29 17:38:36 -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>WebCore Misc.</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="Adrienne Walker">enne</reporter>
          <assigned_to name="Brett Wilson (Google)">brettw</assigned_to>
          <cc>adamk</cc>
    
    <cc>bashi</cc>
    
    <cc>enne</cc>
    
    <cc>mdelaney7</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>566135</commentid>
    <comment_count>0</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-02-27 17:02:37 -0800</bug_when>
    <thetext>During http://trac.webkit.org/log/?action=stop_on_copy&amp;mode=stop_on_copy&amp;rev=109020&amp;stop_rev=109013&amp;limit=100, a number of TransparencyWinTest tests started failing.  This seems very likely to be due to http://trac.webkit.org/changeset/109016.

It&apos;s not clear to me how serious these failures are.  Brett--are these something that we should not roll into Chromium? Or, is this just a case where the test needs to be updated?

From http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Vista/builds/12187/ steps:

--snip--
TransparencyWin.WhiteLayerPixelTest: 
Did not complete.
TransparencyWin.WhiteLayer: 
.\tests\TransparencyWinTest.cpp(154): error: Value of: IntSize(14, 12) == helper.m_layerSize
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(155): error: Value of: IntRect(1, 1, 14, 12) == helper.drawRect()
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(186): error: Value of: IntSize(12, 3) == helper.m_layerSize
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(187): error: Value of: IntRect(0, 0, 12, 3) == helper.drawRect()
  Actual: false
Expected: true
TransparencyWin.TextComposite: 
.\tests\TransparencyWinTest.cpp(206): error: Value of: IntSize(14, 12) == helper.m_layerSize
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(207): error: Value of: IntRect(1, 1, 14, 12) == helper.drawRect()
  Actual: false
Expected: true
TransparencyWin.OpaqueCompositeLayer: 
.\tests\TransparencyWinTest.cpp(225): error: Value of: IntSize(14, 12) == helper.m_layerSize
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(226): error: Value of: IntRect(1, 1, 14, 12) == helper.drawRect()
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(241): error: Value of: IntSize(14, 14) == helper.m_layerSize
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(242): error: Value of: IntRect(1, 1, 14, 14) == helper.drawRect()
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(274): error: Value of: IntSize(12, 3) == helper.m_layerSize
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(275): error: Value of: IntRect(0, 0, 12, 3) == helper.drawRect()
  Actual: false
Expected: true
TransparencyWin.NoLayer: 
.\tests\TransparencyWinTest.cpp(114): error: Value of: IntSize(14, 12) == helper.m_layerSize
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(134): error: Value of: IntSize(12, 3) == helper.m_layerSize
  Actual: false
Expected: true
.\tests\TransparencyWinTest.cpp(135): error: Value of: IntRect(4, 1, 12, 3) == helper.drawRect()
  Actual: false
Expected: true
--snip--</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566143</commentid>
    <comment_count>1</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-02-27 17:05:48 -0800</bug_when>
    <thetext>Committed r109043: &lt;http://trac.webkit.org/changeset/109043&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566357</commentid>
    <comment_count>2</comment_count>
    <who name="Kenichi Ishibashi">bashi</who>
    <bug_when>2012-02-27 21:22:26 -0800</bug_when>
    <thetext>http://build.chromium.org/p/chromium.webkit/builders/Win%20%28dbg%29/builds/5186

I committed r109071 to fix compile errors.
http://trac.webkit.org/changeset/109071</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566391</commentid>
    <comment_count>3</comment_count>
    <who name="Kenichi Ishibashi">bashi</who>
    <bug_when>2012-02-27 22:32:49 -0800</bug_when>
    <thetext>http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Win%20%28dbg%29%281%29/builds/10511/steps/webkit_unit_tests/logs/stdio

Further suppression added:
http://trac.webkit.org/changeset/109077

Looks like DRT crashed or hanged. I think it&apos;s not safe to roll r109016 and later. I&apos;m not familiar with these code so I couldn&apos;t handle the failures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566827</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Klein">adamk</who>
    <bug_when>2012-02-28 10:10:34 -0800</bug_when>
    <thetext>Aha, I think this is probably a simple problem in the tests. They construct ImageBuffers like so:

ImageBuffer::create(IntSize(16, 16), ColorSpaceDeviceRGB)

But now the second argument is the scale.  I&apos;m going to try a speculative fix of adding the scale argument and re-enabling.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566842</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Klein">adamk</who>
    <bug_when>2012-02-28 10:24:56 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Aha, I think this is probably a simple problem in the tests. They construct ImageBuffers like so:
&gt; 
&gt; ImageBuffer::create(IntSize(16, 16), ColorSpaceDeviceRGB)
&gt; 
&gt; But now the second argument is the scale.  I&apos;m going to try a speculative fix of adding the scale argument and re-enabling.

Speculatively fixed in http://trac.webkit.org/changeset/109119, waiting for bots to cycle before declaring victory.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>