Enable swipe tests on iOS
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jan 2019 07:31:21 +0000 (07:31 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jan 2019 07:31:21 +0000 (07:31 +0000)
commitc7f55ba359082d11a4bbfc49ba48ebf42a1eb036
tree3bdf4457062a91eea16bceeb4681c291ba6b1c0d
parent17738d7fa68155b300a52961e06378079684cfc1
Enable swipe tests on iOS
https://bugs.webkit.org/show_bug.cgi?id=194076

Reviewed by Geoffrey Garen.

Tools:

Removed the superflous call to prepareForAsyncTask and asyncTaskComplete as
it causes a debug assertion failure in runUIScript.

* WebKitTestRunner/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::beginBackSwipe):
(WTR::UIScriptController::completeBackSwipe):

LayoutTests:

Enabled tests in LayoutTests/swipe and added iOS specific results for the failing tests.

* platform/ios/TestExpectations:
* platform/ios/swipe/basic-cached-back-swipe-expected.txt: Added.
* platform/ios/swipe/main-frame-pinning-requirement-expected.txt: Added.
* platform/ios/swipe/pushState-cached-back-swipe-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/ios/TestExpectations
LayoutTests/platform/ios/swipe/basic-cached-back-swipe-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios/swipe/main-frame-pinning-requirement-expected.txt [new file with mode: 0644]
LayoutTests/platform/ios/swipe/pushState-cached-back-swipe-expected.txt [new file with mode: 0644]
Tools/ChangeLog
Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm