Changeset 249653 in webkit
- Timestamp:
- Sep 9, 2019 11:56:47 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r249652 r249653 1 2019-09-09 Daniel Bates <dabates@apple.com> 2 3 Remove all selection view animations before dumping results 4 https://bugs.webkit.org/show_bug.cgi?id=199241 5 6 Reviewed by Wenson Hsieh. 7 8 On iOS the selection UI uses a few animations, including fading in the grabbers. We have many 9 historical tests that were written for Mac and expect Mac's lack of animations that we run on 10 iOS and are flaky. Let's try to remove all selection view animations before dumping results and 11 see if this makes tests on iOS less flaky. A future enhancement to this is to expose a uiController 12 API for a test to remove selection animations at any time during the run. 13 14 * WebKitTestRunner/ios/TestControllerIOS.mm: 15 (WTR::TestController::notifyDone): 16 1 17 2019-09-09 Jonathan Bedard <jbedard@apple.com> 2 18 -
trunk/Tools/WebKitTestRunner/ios/TestControllerIOS.mm
r248846 r249653 83 83 void TestController::notifyDone() 84 84 { 85 UIView *contentView = [mainWebView()->platformView() valueForKeyPath:@"_currentContentView"]; 86 UIView *selectionView = [contentView valueForKeyPath:@"interactionAssistant.selectionView"]; 87 [selectionView _removeAllAnimations:YES]; 85 88 } 86 89
Note: See TracChangeset
for help on using the changeset viewer.