haikuwebkit/LayoutTests/swipe/pushState-programmatic-back...

5 lines
54 B
Plaintext
Raw Permalink Normal View History

Swipe gesture tests don't work on macOS Sierra https://bugs.webkit.org/show_bug.cgi?id=161675 <rdar://problem/23379930> Reviewed by Darin Adler. Tools: * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::platformPlayBackEventStream): (WTR::UIScriptController::beginBackSwipe): (WTR::UIScriptController::completeBackSwipe): * TestRunnerShared/EventSerialization/mac/EventSerializerMac.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * TestRunnerShared/EventSerialization/mac/EventSerializerMac.mm: Added. (eventIsOfType): (eventIsOfTypes): (eventIsOfGestureType): (eventIsOfGestureTypes): (+[EventSerializer dictionaryForEvent:relativeToTime:]): (+[EventSerializer createEventForDictionary:inWindow:relativeToTime:]): (+[EventSerializer playEventStream:inWindow:completionHandler:]): * TestRunnerShared/EventSerialization/mac/SharedEventStreamsMac.h: Copied from Tools/WebKitTestRunner/mac/UIScriptControllerMac.mm. * TestRunnerShared/EventSerialization/mac/SharedEventStreamsMac.mm: Added. (beginSwipeBackEventStream): (completeSwipeBackEventStream): * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::playBackEventStream): (WTR::UIScriptController::beginBackSwipe): (WTR::UIScriptController::completeBackSwipe): (WTR::UIScriptController::platformPlayBackEventStream): (WTR::UIScriptController::platformClearAllCallbacks): Deleted. * TestRunnerShared/UIScriptContext/UIScriptController.h: * TestRunnerShared/spi/CoreGraphicsSPI.h: Added. * TestRunnerShared/spi/IOKitSPI.h: Renamed from Tools/WebKitTestRunner/ios/IOKitSPI.h. * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::playBackEvents): (WTR::UIScriptController::beginBackSwipe): (WTR::UIScriptController::completeBackSwipe): (WTR::UIScriptController::platformPlayBackEventStream): LayoutTests: * platform/mac-wk2/TestExpectations: * swipe/basic-cached-back-swipe-expected.txt: * swipe/basic-cached-back-swipe.html: * swipe/main-frame-pinning-requirement-expected.txt: * swipe/main-frame-pinning-requirement.html: * swipe/pushState-cached-back-swipe-expected.txt: * swipe/pushState-cached-back-swipe.html: * swipe/pushState-programmatic-back-while-swiping-crash-expected.txt: * swipe/pushState-programmatic-back-while-swiping-crash.html: * swipe/resources/swipe-test.js: (measuredDurationShouldBeLessThan): (startSwipeGesture): (completeSwipeGesture): (playEventStream): (eventQueue.enqueueScrollEvent): Deleted. (eventQueue.enqueueSwipeEvent): Deleted. (eventQueue.hasPendingEvents): Deleted. (eventQueue.callAfterEventDispatch): Deleted. (eventQueue._processEventQueue): Deleted. (eventQueue._processEventQueueSoon): Deleted. * swipe/swipe-start-hysteresis-failures-expected.txt: Removed. * swipe/swipe-start-hysteresis-failures.html: Removed. Canonical link: https://commits.webkit.org/187185@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-03-30 01:05:58 +00:00
playEventStream
playEventStream
completeSwipeGesture