<?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>92920</bug_id>
          
          <creation_ts>2012-08-01 16:12:55 -0700</creation_ts>
          <short_desc>Fix for drawing invalid layers in WebViewBenchmarkSupportImpl</short_desc>
          <delta_ts>2012-08-01 19:11:13 -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>New Bugs</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>0</everconfirmed>
          <reporter name="Daniel Murphy">dmurph</reporter>
          <assigned_to name="Daniel Murphy">dmurph</assigned_to>
          <cc>alokp</cc>
    
    <cc>crogers</cc>
    
    <cc>enne</cc>
    
    <cc>jamesr</cc>
    
    <cc>nduca</cc>
    
    <cc>scheib</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>684728</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Murphy">dmurph</who>
    <bug_when>2012-08-01 16:12:55 -0700</bug_when>
    <thetext>Fix for drawing invalid layers in WebViewBenchmarkSupportImpl</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684732</commentid>
    <comment_count>1</comment_count>
      <attachid>155916</attachid>
    <who name="Daniel Murphy">dmurph</who>
    <bug_when>2012-08-01 16:14:45 -0700</bug_when>
    <thetext>Created attachment 155916
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684741</commentid>
    <comment_count>2</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-08-01 16:25:20 -0700</bug_when>
    <thetext>What&apos;s the bug that this fixes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684743</commentid>
    <comment_count>3</comment_count>
      <attachid>155916</attachid>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-08-01 16:26:43 -0700</bug_when>
    <thetext>Comment on attachment 155916
Patch

Are there any tests for this feature?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684744</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Murphy">dmurph</who>
    <bug_when>2012-08-01 16:26:55 -0700</bug_when>
    <thetext>There was an assertion being thrown when we tried to paint non-content layer, at RenderLayerBacking.cpp:1219.  This only shows up on websites with backing layers like the poster circle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684753</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Murphy">dmurph</who>
    <bug_when>2012-08-01 16:32:07 -0700</bug_when>
    <thetext>No, there are none.  Testing this specifically seems a bit infeasible.  This provides the drawing for canvas serialization, so when that&apos;s working we can do bitmap based tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684757</commentid>
    <comment_count>6</comment_count>
    <who name="Alok Priyadarshi">alokp</who>
    <bug_when>2012-08-01 16:38:35 -0700</bug_when>
    <thetext>I think it will be nice to have a simple webkit test for WebViewBenchmarkSupport::paint() since it uses a path different from the actual paint path. Testing it downstream will be hard to maintain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684758</commentid>
    <comment_count>7</comment_count>
    <who name="Nat Duca">nduca</who>
    <bug_when>2012-08-01 16:41:02 -0700</bug_when>
    <thetext>I think no test is needed for this.

This is not because I think testing is unnecessary. But rather, that testing for this specific bug is busy work. There is a broader question of how to test the support code. And whether its testable.

I propose we land this fix, and then Alokp, Daniel and I deal with the testability discussion offline. It may be that we&apos;re going to change this more heavily.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684759</commentid>
    <comment_count>8</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-08-01 16:43:49 -0700</bug_when>
    <thetext>(In reply to comment #7)

&gt; This is not because I think testing is unnecessary. But rather, that testing for this specific bug is busy work. There is a broader question of how to test the support code. And whether its testable.

I think that was really my question.  I hadn&apos;t ever seen WebViewBenchmarkSupport before and was curious if there was any testing strategy here.
 
&gt; I propose we land this fix, and then Alokp, Daniel and I deal with the testability discussion offline. It may be that we&apos;re going to change this more heavily.

Sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684761</commentid>
    <comment_count>9</comment_count>
      <attachid>155916</attachid>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-08-01 16:44:04 -0700</bug_when>
    <thetext>Comment on attachment 155916
Patch

R=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684795</commentid>
    <comment_count>10</comment_count>
      <attachid>155916</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-08-01 17:20:25 -0700</bug_when>
    <thetext>Comment on attachment 155916
Patch

Clearing flags on attachment: 155916

Committed r124391: &lt;http://trac.webkit.org/changeset/124391&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>684796</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-08-01 17:20:29 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>155916</attachid>
            <date>2012-08-01 16:14:45 -0700</date>
            <delta_ts>2012-08-01 17:20:25 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-92920-20120801161427.patch</filename>
            <type>text/plain</type>
            <size>1612</size>
            <attacher name="Daniel Murphy">dmurph</attacher>
            
              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