<?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>95140</bug_id>
          
          <creation_ts>2012-08-27 15:34:41 -0700</creation_ts>
          <short_desc>[chromium] WebGL canvas cleared by printing</short_desc>
          <delta_ts>2013-04-15 08:21:45 -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>WebGL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="James Robinson">jamesr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gman</cc>
    
    <cc>jbauman</cc>
    
    <cc>kbr</cc>
    
    <cc>schenney</cc>
    
    <cc>twiz</cc>
    
    <cc>zmo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>705775</commentid>
    <comment_count>0</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-08-27 15:34:41 -0700</bug_when>
    <thetext>Load up a page with WebGL that doesn&apos;t repaint on every frame (for instance http://trac.webkit.org/export/126806/trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes.html) and print.  The webgl canvas content is gone after printing if the preserveDrawingBuffer attribute is false.  It appears the readback is destructive on the canvas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>705783</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2012-08-27 15:37:55 -0700</bug_when>
    <thetext>Darn it -- this keeps regressing. We need a way to write printing layout tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>705792</commentid>
    <comment_count>2</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2012-08-27 15:43:05 -0700</bug_when>
    <thetext>Maybe we could add a testRunner hook that &quot;prints&quot; into a null WebCanvas so at least we&apos;d hit all of the printing logic in WebKit and verify that it didn&apos;t hose any state, even though we couldn&apos;t test on what showed up in the printed output?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>705802</commentid>
    <comment_count>3</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2012-08-27 15:46:06 -0700</bug_when>
    <thetext>That would be an improvement -- it would catch this particular error -- but it would be better if we could also (optionally) examine the printed results as a pixel test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>875844</commentid>
    <comment_count>4</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2013-04-15 08:21:45 -0700</bug_when>
    <thetext>https://code.google.com/p/chromium/issues/detail?id=231368</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>