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 (https://bugs.webkit.org/show_bug.cgi?id=169421), 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.
Created attachment 306912 [details]
Test results when using snapshot API for ImageDiff
Originally there were 5 of these failures. Now, I only see compositing/geometry/clipped-out-perspective.html and compositing/hidpi-subpixel-transform-origin.html.
Created attachment 312447 [details]
Local on-device testing has indicated that these tests no longer fail. I'd like to see if EWS agrees with this for iOS-Simulators.
Comment on attachment 312447 [details]
Attachment 312447 [details] did not pass ios-sim-ews (ios-simulator-wk2):
New failing tests:
Created attachment 312462 [details]
Archive of layout-test-results from ews125 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.12.5
It appears that these tests only fail on Simulator. They succeed on device.