<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Getting snapshot of WKWebView fails ImageDiff tests"
   href="https://bugs.webkit.org/show_bug.cgi?id=170772">170772</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Getting snapshot of WKWebView fails ImageDiff tests
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit API
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jbedard&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When testing, WebKit will frequently take a snapshot of the current WKWebView and compare it to some expected value.  While developing this functionality for on-device testing (<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Implement PlatformWebView::windowSnapshotImage and createBitmapContextFromWebView for iOS devices"
   href="show_bug.cgi?id=169421">https://bugs.webkit.org/show_bug.cgi?id=169421</a>), it was suggested that the snapshotting API should be used.  I have attached test results from this run.  For 6 of the tests, the snapshotting API does not give the expected result.  Looking at the results, expected results and the screen of the device while running the tests, this seems to be a bug in the snapshotting API.  I think compositing/regions/position-layers-inside-region-overflow-hidden.html demonstrates this most clearly.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>