RESOLVED FIXED 239867
REGRESSION (249864@main): [ iOS ] TestWebKitAPI.ScrollViewScrollabilityTests.ScrollableWithOverflowHiddenAndShrunkUI is failing
https://bugs.webkit.org/show_bug.cgi?id=239867
Summary REGRESSION (249864@main): [ iOS ] TestWebKitAPI.ScrollViewScrollabilityTests....
Truitt Savell
Reported 2022-04-28 13:26:00 PDT
TestWebKitAPI.ScrollViewScrollabilityTests.ScrollableWithOverflowHiddenAndShrunkUI This test is a constant failure on iOS. this began with the changes in https://github.com/WebKit/WebKit/commit/681a897dc791f36df24e247cd4f466da669a0052 according to history. History: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.ScrollViewScrollabilityTests.ScrollableWithOverflowHiddenAndShrunkUI Diff: /Volumes/Data/worker/Apple-iOS-15-Simulator-Release-Build/build/Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm:141 Expected equality of these values: [[webView scrollView] isScrollEnabled] Which is: false __objc_yes Which is: true
Attachments
Patch (2.25 KB, patch)
2022-04-28 21:37 PDT, Simon Fraser (smfr)
sam: review+
Patch (2.38 KB, patch)
2022-04-29 10:35 PDT, Simon Fraser (smfr)
no flags
Radar WebKit Bug Importer
Comment 1 2022-04-28 13:26:19 PDT
Simon Fraser (smfr)
Comment 2 2022-04-28 20:50:19 PDT
I think this might be because I wrote the tests to work in the iPhone 12 simulator but we run them in the iPhone 8 simulator
Simon Fraser (smfr)
Comment 3 2022-04-28 21:37:45 PDT
Sam Weinig
Comment 4 2022-04-29 10:26:21 PDT
Comment on attachment 458569 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=458569&action=review > Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm:127 > + auto webView = adoptNS([[TestWKWebView alloc] initWithFrame:CGRectMake(0, 0, viewHeight, 375)]); Probably worth a comment about where the value comes from. > Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm:137 > + [webView _overrideLayoutParametersWithMinimumLayoutSize:CGSizeMake(viewHeight, 325) maximumUnobscuredSizeOverride:CGSizeMake(viewHeight, 375)]; Probably worth a comment about where the value comes from.
Simon Fraser (smfr)
Comment 5 2022-04-29 10:35:49 PDT
EWS
Comment 6 2022-04-29 12:26:40 PDT
Committed r293626 (250132@main): <https://commits.webkit.org/250132@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458593 [details].
Note You need to log in before you can comment on or make changes to this bug.