Changeset 277429 in webkit
- Timestamp:
- May 13, 2021, 3:39:13 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
TestWebKitAPI/Tests/WebKit/ResizeReversePaginatedWebView.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r277421 r277429 1 2021-05-13 Tim Horton <timothy_horton@apple.com> 2 3 ResizeReversePaginatedWebView fails on some OS versions on some hardware 4 https://bugs.webkit.org/show_bug.cgi?id=224699 5 <rdar://76782199> 6 7 Reviewed by Megan Gardner. 8 9 * TestWebKitAPI/Tests/WebKit/ResizeReversePaginatedWebView.cpp: 10 (TestWebKitAPI::didLayout): 11 This test does *not* care about the specific number of pages that are 12 generated; the key to the test is the scroll position check. 13 14 Since the page-count check in this test has caused lots of trouble 15 in the past (see the history) just remove it and replace it with a 16 check that we ended up paginated at all. 17 1 18 2021-05-12 Simon Fraser <simon.fraser@apple.com> 2 19 -
trunk/Tools/TestWebKitAPI/Tests/WebKit/ResizeReversePaginatedWebView.cpp
r262800 r277429 43 43 static const unsigned pageLength = 100; 44 44 static const unsigned pageGap = 100; 45 static const unsigned expectedPageCount = 49;46 45 47 46 static void didLayout(WKPageRef page, WKPageRenderingProgressEvents milestones, WKTypeRef, const void* clientInfo) … … 51 50 52 51 unsigned pageCount = WKPageGetPageCount(page); 53 EXPECT_ EQ(expectedPageCount, pageCount);52 EXPECT_GT(pageCount, 2U); 54 53 55 54 webView->resizeTo((pageLength * pageCount) + (pageGap * (pageCount - 1)), 500);
Note:
See TracChangeset
for help on using the changeset viewer.