RESOLVED FIXED282694
REGRESSION(286185@main?): [iOS] TestWebKitAPI.WebKit.CopyInAutoFilledAndViewablePasswordField is constant failure (failure in EWS)
https://bugs.webkit.org/show_bug.cgi?id=282694
Summary REGRESSION(286185@main?): [iOS] TestWebKitAPI.WebKit.CopyInAutoFilledAndViewa...
Marta Darbinyan
Reported 2024-11-06 09:36:36 PST
The following API tests is constant failure on iOS17 starting from 286185@main. It's also failing in EWS and causing backlog in iOS queue. TestWebKitAPI.WebKit.CopyInAutoFilledAndViewablePasswordField Errors: TestWebKitAPI.WebKit.CopyInAutoFilledAndViewablePasswordField 2024-11-06 07:19:26.384 TestWebKitAPI[66283:530766] Encountered error: Error Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" UserInfo={WKJavaScriptExceptionLineNumber=3, WKJavaScriptExceptionMessage=TypeError: internals.setAutoFilledAndViewable is not a function. (In 'internals.setAutoFilledAndViewable(field, true)', 'internals.setAutoFilledAndViewable' is undefined), WKJavaScriptExceptionColumnNumber=43, WKJavaScriptExceptionSourceURL=file:///Volumes/Data/worker/API-Tests-iOS-Simulator-EWS/build/WebKitBuild/Release-iphonesimulator/TestWebKitAPIResources.bundle/, NSLocalizedDescription=A JavaScript exception occurred} while evaluating script: let field = document.getElementById('autofill'); internals.setAutoFilledAndViewable(field, true); field.select() /Volumes/Data/worker/iOS-17-Simulator-Build-EWS/build/Tools/TestWebKitAPI/cocoa/TestWKWebView.mm:549 Value of: !error Actual: false Expected: true /Volumes/Data/worker/iOS-17-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKContentViewEditingActions.mm:96 Value of: [contentView canPerformAction:@selector(copy:) withSender:nullptr] Actual: false Expected: true Test results: https://s3-us-west-2.amazonaws.com/ews-archives.webkit.org/ios-simulator-17-arm64-release-re-run-api-tests/39581897.txt History: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WebKit.CopyInAutoFilledAndViewablePasswordField
Attachments
Radar WebKit Bug Importer
Comment 1 2024-11-06 09:36:59 PST
Ryosuke Niwa
Comment 2 2024-11-06 10:38:53 PST
Ryosuke Niwa
Comment 3 2024-11-06 10:51:10 PST
EWS
Comment 4 2024-11-06 12:45:17 PST
Committed 286239@main (2a5bc728820f): <https://commits.webkit.org/286239@main> Reviewed commits have been landed. Closing PR #36269 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.