RESOLVED FIXED301652
REGRESSION(IOS26): TestWebKitAPI.WKWebView.GetContentsShouldReturnAttributedString
https://bugs.webkit.org/show_bug.cgi?id=301652
Summary REGRESSION(IOS26): TestWebKitAPI.WKWebView.GetContentsShouldReturnAttributedS...
Robert Jenner
Reported 2025-10-29 13:53:33 PDT
TestWebKitAPI.WKWebView.GetContentsShouldReturnAttributedString is a constant failure on iOS26. It was not failing on iOS18. HISTORY: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WKWebView.GetContentsShouldReturnAttributedString FAIL TEXT: "name": "TestWebKitAPI.WKWebView.GetContentsShouldReturnAttributedString", "output": "\n/Volumes/Data/worker/Apple-iOS-26-Simulator-Release-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewGetContents.mm:167\nExpected equality of these values:\n @\"kCGColorSpaceModelRGB 1 0 0 1 \"\n Which is: \"kCGColorSpaceModelRGB 1 0 0 1 \"\n dynamic_objc_cast<UIColor>(documentAttributes[getNSBackgroundColorDocumentAttributeSingleton()]).description\n Which is: \"kCGColorSpaceModelRGB 1 0 0 1\""
Attachments
Robert Jenner
Comment 1 2025-10-29 13:55:37 PDT
I was able to reproduce this failure at iOS 26 Debug ToT running the test as follows: run-api-tests --iOS-simulator TestWebKitAPI.WKWebView.GetContentsShouldReturnAttributedString We see in the history that this test started failing when we transitioned our testing from iOS 18 to iOS 26. It was a constant pass on 18, and became a constant failure since bringing up testing on iOS26.
Radar WebKit Bug Importer
Comment 2 2025-10-29 13:56:06 PDT
EWS
Comment 3 2025-10-29 14:04:49 PDT
Test gardening commit 302310@main (012826220b10): <https://commits.webkit.org/302310@main> Reviewed commits have been landed. Closing PR #53162 and removing active labels.
Robert Jenner
Comment 4 2025-10-29 14:06:48 PDT
(In reply to EWS from comment #3) > Test gardening commit 302310@main (012826220b10): > <https://commits.webkit.org/302310@main> > > Reviewed commits have been landed. Closing PR #53162 and removing active > labels. I have disabled the test for iOS with this commit while under investigation.
Timothy Hatcher
Comment 5 2025-10-29 16:54:24 PDT
EWS
Comment 6 2025-10-30 14:21:54 PDT
Test gardening commit 302359@main (fda2bd1b4d70): <https://commits.webkit.org/302359@main> Reviewed commits have been landed. Closing PR #53177 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.