The test is checking that the resource load stats file is deleted after clearing website data. Since r227223, the website data completion callback is not called immediately, and a new file is created when the operation finishes. We need to check that the file was removing after calling clear.
Created attachment 331908 [details] Patch
Comment on attachment 331908 [details] Patch Attachment 331908 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/6167388 New failing tests: media/video-main-content-autoplay.html
Created attachment 331914 [details] Archive of layout-test-results from ews107 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
Committed r227289: <https://trac.webkit.org/changeset/227289>