<?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>196195</bug_id>
          
          <creation_ts>2019-03-25 03:01:03 -0700</creation_ts>
          <short_desc>[GTK] Regression in inspector/console/console-screenshot.html</short_desc>
          <delta_ts>2019-05-02 06:36:20 -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>WebKit 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="Diego Pino">dpino</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>magomez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1520822</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2019-03-25 03:01:03 -0700</bug_when>
    <thetext>Test is failing since introduction of this feature in r242992 (Web Inspector: provide a way to capture a screenshot of a node from within the page https://bugs.webkit.org/show_bug.cgi?id=194279)

Diff:

--- /WebKit/WebKitBuild/Release/layout-test-results/inspector/console/console-screenshot-expected.txt
+++ /WebKit/WebKitBuild/Release/layout-test-results/inspector/console/console-screenshot-actual.txt
@@ -7,11 +7,15 @@
 == Running test suite: console.screenshot
 -- Running test case: console.screenshot.SingleNode
 PASS: The added message should be an image.
-PASS: The image should be a 2x2 red square.
+FAIL: The image should be a 2x2 red square.
+    Expected: &quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAABNJREFUCB1j/M/AAEQMDEwgAgQAHxcCAmtAm/sAAAAASUVORK5CYII=&quot;
+    Actual: &quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAABHNCSVQICAgIfAhkiAAAABRJREFUCJlj/M/A8J+BgYGBiQEKAB8XAgK+3Bg8AAAAAElFTkSuQmCC&quot;
 
 -- Running test case: console.screenshot.MultipleNodes
 PASS: The added message should be an image.
-PASS: The image should be a 2x2 blue square.
+FAIL: The image should be a 2x2 blue square.
+    Expected: &quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAABRJREFUCB1jZGD4/58BCJhABAgAAB0ZAgJSPDJ6AAAAAElFTkSuQmCC&quot;
+    Actual: &quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAABHNCSVQICAgIfAhkiAAAABRJREFUCJljZGD4/5+BgYGBiQEKAB0ZAgLFFMilAAAAAElFTkSuQmCC&quot;

It seems there are differences in the expected and actual Base64 encodings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1532256</commentid>
    <comment_count>1</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-05-02 06:36:20 -0700</bug_when>
    <thetext>This is passing since r244868. Closing bug and updating expectations.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>