Bug 301019

Summary: REGRESSION(iOS 26): 2x TestWebKitAPI.DocumentEditingContext* (api-tests) are failing
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: New BugsAssignee: Jonathan Bedard <jbedard>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jonathan Bedard
Reported 2025-10-17 16:11:40 PDT
TestWebKitAPI.DocumentEditingContext.RequestMarkedTextRectsAndTextOnly /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:468 Expected equality of these values: CGRectMake(163, 6, 26, 25) Which is: (origin = (x = 163, y = 6), size = (width = 26, height = 25)) [rectValues[0] CGRectValue] Which is: (origin = (x = 163, y = 7), size = (width = 25, height = 25)) /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:469 Expected equality of these values: CGRectMake(188, 6, 26, 25) Which is: (origin = (x = 188, y = 6), size = (width = 26, height = 25)) [rectValues[1] CGRectValue] Which is: (origin = (x = 188, y = 7), size = (width = 25, height = 25)) /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:470 Expected equality of these values: CGRectMake(213, 6, 26, 25) Which is: (origin = (x = 213, y = 6), size = (width = 26, height = 25)) [rectValues[2] CGRectValue] Which is: (origin = (x = 213, y = 7), size = (width = 25, height = 25)) /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:471 Expected equality of these values: CGRectMake(238, 6, 26, 25) Which is: (origin = (x = 238, y = 6), size = (width = 26, height = 25)) [rectValues[3] CGRectValue] Which is: (origin = (x = 238, y = 7), size = (width = 25, height = 25)) /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:472 Expected equality of these values: CGRectMake(263, 6, 26, 25) Which is: (origin = (x = 263, y = 6), size = (width = 26, height = 25)) [rectValues[4] CGRectValue] Which is: (origin = (x = 263, y = 7), size = (width = 25, height = 25)) 07:45:51.398 894 TestWebKitAPI.DocumentEditingContext.SpatialRequestInTextField /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:493 Expected equality of these values: CGRectMake(198, 8, 12, 19) Which is: (origin = (x = 198, y = 8), size = (width = 12, height = 19)) textRects[5].CGRectValue Which is: (origin = (x = 197, y = 8), size = (width = 12, height = 19)) /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:494 Expected equality of these values: CGRectMake(209, 8, 9, 19) Which is: (origin = (x = 209, y = 8), size = (width = 9, height = 19)) textRects[6].CGRectValue Which is: (origin = (x = 208, y = 8), size = (width = 9, height = 19)) /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:495 Expected equality of these values: CGRectMake(217, 8, 7, 19) Which is: (origin = (x = 217, y = 8), size = (width = 7, height = 19)) textRects[7].CGRectValue Which is: (origin = (x = 216, y = 8), size = (width = 7, height = 19)) /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:496 Expected equality of these values: CGRectMake(223, 8, 5, 19) Which is: (origin = (x = 223, y = 8), size = (width = 5, height = 19)) textRects[8].CGRectValue Which is: (origin = (x = 222, y = 8), size = (width = 5, height = 19)) /Volumes/Data/worker/iOS-18-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DocumentEditingContext.mm:497 Expected equality of these values: CGRectMake(227, 8, 9, 19) Which is: (origin = (x = 227, y = 8), size = (width = 9, height = 19)) textRects[9].CGRectValue Which is: (origin = (x = 226, y = 8), size = (width = 9, height = 19))
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-17 16:11:51 PDT
Jonathan Bedard
Comment 2 2025-10-17 16:12:11 PDT
Likely a Liquid Glass regression.
Jonathan Bedard
Comment 3 2025-10-17 16:54:24 PDT
EWS
Comment 4 2025-10-17 17:54:16 PDT
Test gardening commit 301752@main (2e9cf3e703f5): <https://commits.webkit.org/301752@main> Reviewed commits have been landed. Closing PR #52596 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.