Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d546e59b99737ed218e241ce73f9883f898781ae
https://github.com/WebKit/WebKit/commit/d546e59b99737ed218e241ce73f9883f898781ae
Author: Jessica Cheung <[email protected]>
Date: 2026-01-20 (Tue, 20 Jan 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebKitCocoa/SmartLists.mm
Log Message:
-----------
[ New-Tests ][ iPhone ] 2X TestWebKitAPI.SmartLists (API-Tests) are constant
failures (301651)
https://bugs.webkit.org/show_bug.cgi?id=301651
rdar://163664100
Reviewed by Tim Horton and Richard Robinson.
These two SmartLists API tests failed on iOS due to the expected HTML
strings being incorrect. The original input resulted in a different
actual HTML but the test does not check for the expected vs actual HTML,
only render trees.
The expected HTML is used to create the SmartListsTestConfiguration, which
is used to obtain the test result. While the reason is still unknown, this
incorrect
expected HTML resulted in differing render trees between iOS and macOS
(potentially
due to contenteditable applying different styling between platforms). The macOS
version of the test passed previously because the macOS render tree unexpectedly
matched the incorrect expected render tree.
To fix this, correct the expected HTML strings.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SmartLists.mm:
((SmartLists, InsertingSpaceAfterLargeNumberDoesNotGenerateOrderedList)):
((SmartLists, InsertingListMergesWithPreviousListIfPossible)):
((SmartLists, InsertingSpaceInsideListElementDoesNotActivateSmartLists)):
((SmartLists,
DISABLED_InsertingListMergesWithPreviousListIfPossible)(SmartLists,
InsertingListMergesWithPreviousListIfPossible)): Deleted.
((SmartLists,
DISABLED_InsertingSpaceInsideListElementDoesNotActivateSmartLists)(SmartLists,
InsertingSpaceInsideListElementDoesNotActivateSmartLists)): Deleted.
Canonical link: https://commits.webkit.org/305898@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications