WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
315119
REGRESSION(
313199@main
?): [iOS]: 2 tests in TestWebKitAPI.WKAttachmentTestsIOS are flaky failures
https://bugs.webkit.org/show_bug.cgi?id=315119
Summary
REGRESSION(313199@main?): [iOS]: 2 tests in TestWebKitAPI.WKAttachmentTestsIO...
Marta Darbinyan
Reported
2026-05-19 13:44:44 PDT
Observing failing tests in API-Tests-iOS-Simulator-EWS test runs. Failed tests: TestWebKitAPI.WKAttachmentTestsIOS.InsertPastedFilesAsAttachments TestWebKitAPI.WKAttachmentTestsIOS.InsertPastedContactAsAttachment Error: 07:07:48.517 3617 TestWebKitAPI.WKAttachmentTestsIOS.InsertPastedFilesAsAttachments 07:07:48.517 3617 2026-05-19 06:35:04.992 com.apple.WebKit.GPU[34546:1015257] CoreText note: Client requested name ".SFUI-Regular_wdth_opsz110000_GRAD_wght", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[UIFont systemFontOfSize:]. 07:07:48.517 3617 2026-05-19 06:35:04.992 com.apple.WebKit.GPU[34546:1015257] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug. 07:07:48.517 3617 2026-05-19 06:35:05.172 TestWebKitAPI[34536:1015152] Encountered error: Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=1, WKJavaScriptExceptionMessage=TypeError: null is not an object (evaluating 'document.querySelector('attachment[type^=application]').getAttribute'), WKJavaScriptExceptionColumnNumber=56, WKJavaScriptExceptionSourceURL=file:///Volumes/Data/worker/API-Tests-iOS-Simulator-EWS/build/WebKitBuild/Release-iphonesimulator/TestWebKitAPIResources.bundle/, NSLocalizedDescription=A JavaScript exception occurred} while evaluating script: document.querySelector('attachment[type^=application]').getAttribute('title') 07:07:48.517 3617 2026-05-19 06:35:05.173 TestWebKitAPI[34536:1015152] Expected data: <10820 bytes> but observed: <38 bytes> for <_WKAttachment 0x60000210fe80 id='09edcb2c-6663-46f1-ad78-aba9cdcc3833'> 07:07:48.517 3617 2026-05-19 06:35:05.173 TestWebKitAPI[34536:1015152] Observed error: (null) while reading data for <_WKAttachment 0x60000210fe80 id='09edcb2c-6663-46f1-ad78-aba9cdcc3833'> 07:07:48.517 3617 2026-05-19 06:35:05.173 TestWebKitAPI[34536:1015152] Expected data: <10 bytes> but observed: <38 bytes> for <_WKAttachment 0x60000210fe80 id='09edcb2c-6663-46f1-ad78-aba9cdcc3833'> 07:07:48.517 3617 2026-05-19 06:35:05.173 TestWebKitAPI[34536:1015152] Observed error: (null) while reading data for <_WKAttachment 0x60000210fe80 id='09edcb2c-6663-46f1-ad78-aba9cdcc3833'> 07:07:48.517 3617 07:07:48.517 3617 /Volumes/Data/worker/iOS-26-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKAttachmentTests.mm:2642 07:07:48.517 3617 Expected equality of these values: 07:07:48.517 3617 2U 07:07:48.517 3617 Which is: 2 07:07:48.517 3617 observer.observer().inserted.count 07:07:48.517 3617 Which is: 1 Test history:
https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.WKAttachmentTestsIOS.InsertPastedFilesAsAttachments&test=TestWebKitAPI.WKAttachmentTestsIOS.InsertPastedContactAsAttachment&platform=ios
Test results:
https://ews-build.webkit.org/#/builders/13/builds/137965
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-05-19 13:45:10 PDT
<
rdar://problem/177462776
>
EWS
Comment 2
2026-05-19 14:02:21 PDT
Test gardening commit
313518@main
(4bbb48218481): <
https://commits.webkit.org/313518@main
> Reviewed commits have been landed. Closing PR #65213 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug