feat(libSceNKWebKit): implement WKAuthenticationChallenge and WKAuthenticationDecisionListener #15173
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15173"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by adriaespii on 2026-11-02T19:54:24Z.
What
Implement
WKAuthenticationChallengeandWKAuthenticationDecisionListenerinlibSceNKWebKit:WKAuthenticationChallengCopyRequestURL: copies request URL.WKAuthenticationChallengeGetDecisionListener: retrieves associated decision listener.WKAuthenticationChallengeGetPreviousFailureCount: returns failure count.WKAuthenticationChallengeGetProposedCredential: retrieves proposed credential.WKAuthenticationChallengeGetProtectionSpace: retrieves protection space.WKAuthenticationChallengeIsForMainResource: queries whether request is for main resource.WKAuthenticationChallengeIsInMainFrame: queries whether request is in main frame.WKAuthenticationDecisionListenerCancel: sets decision to cancel.WKAuthenticationDecisionListenerRejectProtectionSpaceAndContinue: sets decision to reject protection space.WKAuthenticationDecisionListenerUseCredential: sets decision to use specified credential.The
AuthenticationChallengeandAuthenticationDecisionListenerhost objects track the parameters in memory; null or wrong-type references throwstd::invalid_argumentviaNKWebKit::Cast.Tested
check_conventions.py --base origin/mainpassed. Added test coverage inBase.cppcovering request URL, proposed credential, protection space, counts, listener decisions (Cancel,RejectProtectionSpace,UseCredential) and null reference argument exceptions.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)