Bug 282694
| Summary: | REGRESSION(286185@main?): [iOS] TestWebKitAPI.WebKit.CopyInAutoFilledAndViewablePasswordField is constant failure (failure in EWS) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marta Darbinyan <darbinyan> |
| Component: | New Bugs | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Marta Darbinyan
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/139365168>
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/36268
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/36269
EWS
Committed 286239@main (2a5bc728820f): <https://commits.webkit.org/286239@main>
Reviewed commits have been landed. Closing PR #36269 and removing active labels.