<?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>112934</bug_id>
          
          <creation_ts>2013-03-21 11:09:54 -0700</creation_ts>
          <short_desc>[Windows, WinCairo] Correct Empty BitmapImage Test</short_desc>
          <delta_ts>2013-03-21 17:08:49 -0700</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>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="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>roger_fong</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>860474</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-03-21 11:09:54 -0700</bug_when>
    <thetext>The TestWebKitAPI test for an empty image frame (added in Bug 102689) incorrectly handles the reference counting aspects of the underlying BitmapImage object.

This patch corrects a debug-build assertion that would trigger for the WinCairo port when running this test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>860504</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-03-21 11:27:27 -0700</bug_when>
    <thetext>Note that even with this patch we cannot run this test under the Windows CG build because the implementation of ImageSourceCG asserts that its internal frameCount method is non-zero.  Since we do not provide an underlying CG image source for this test, the assertion will always fire.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>860507</commentid>
    <comment_count>2</comment_count>
      <attachid>194303</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-03-21 11:30:29 -0700</bug_when>
    <thetext>Created attachment 194303
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>860903</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-03-21 17:08:49 -0700</bug_when>
    <thetext>Landed in r146507.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>194303</attachid>
            <date>2013-03-21 11:30:29 -0700</date>
            <delta_ts>2013-03-21 11:33:27 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-112934-20130321112616.patch</filename>
            <type>text/plain</type>
            <size>1396</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDE0NjQ4NykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE0IEBACisyMDEzLTAzLTIxICBCcmVudCBGdWxnaGFtICA8YmZ1bGdoYW1Ad2Via2l0Lm9y
Zz4KKworICAgICAgICBbV2luQ2Fpcm9dIENvcnJlY3QgYXNzZXJ0IGluIEVtcHR5IEJpdG1hcElt
YWdlIFRlc3QuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9p
ZD0xMTI5MzQKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPR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ICAgICBpbnQgYml0c1syNTZdOwog
ICAgIEhCSVRNQVAgaEJpdG1hcCA9IENyZWF0ZUJpdG1hcCgxNiwgMTYsIDEsIDMyLCBiaXRzKTsK
LSAgICBiaXRtYXBJbWFnZVRlc3QuZ2V0SEJJVE1BUE9mU2l6ZShoQml0bWFwLCAmc3opOworICAg
IGJpdG1hcEltYWdlVGVzdC0+Z2V0SEJJVE1BUE9mU2l6ZShoQml0bWFwLCAmc3opOwogfQogCiB9
IC8vIG5hbWVzcGFjZSBUZXN0V2ViS2l0QVBJCg==
</data>
<flag name="review"
          id="216045"
          type_id="1"
          status="+"
          setter="thorton"
    />
          </attachment>
      

    </bug>

</bugzilla>