<?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>258298</bug_id>
          
          <creation_ts>2023-06-20 06:34:49 -0700</creation_ts>
          <short_desc>`testRunner.dumpAsText(true)` doesn&apos;t dump pixels</short_desc>
          <delta_ts>2023-06-27 06:35:16 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=60298</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=42374</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=256377</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Dyackhov">vitaly</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>gsnedders</cc>
    
    <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1962538</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2023-06-20 06:34:49 -0700</bug_when>
    <thetext>`LayoutTests/animations/animation-offscreen-to-onscreen.html` for example uses this snippet:
```
if (window.testRunner) {
    window.testRunner.dumpAsText(true);
}
```

But `WebKitTestRunner` only dumps text but not pixels:
```
WebKitBuild/Release/bin/WebKitTestRunner LayoutTests/animations/animation-offscreen-to-onscreen.html
Gdk-Message: 15:30:20.976: Window 0x5605b1a30790 is a temporary window without parent, application will not be able to position it on screen.
Content-Type: text/plain
PASS - &quot;webkitTransform&quot; property for &quot;box&quot; element at 0.5s saw something close to: 1,0,0,1,100,0

#EOF
#EOF
#EOF
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1962540</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Dyackhov">vitaly</who>
    <bug_when>2023-06-20 06:52:25 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/15105</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1962589</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2023-06-20 10:55:20 -0700</bug_when>
    <thetext>I could swear we had a bug about this, but I cannot find it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1963788</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-27 06:35:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/111388446&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>