feat(nkwebkit): implement shouldUseCredentialStorage #17569
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17569"
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 alvaroelpob on 2026-11-08T22:32:02Z.
What
Implement WebCore::EmptyFrameLoaderClient::shouldUseCredentialStorage from the pinned WebKit 11.x behavior, returning false for all inputs.
Tested
Linux:
suite.py nkwebkit-credential-storage-policyat11ca294abf: CTest 6575/6575 passed; conventions passed.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)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T15:27:49Z.
Review: CHANGES_REQUESTED
Reviewed — changes requested
Changes are required before merge: correct the export prototype so it matches the ABI and can be used by its caller.
What I ran
Reviewed head
dc7084bc74e4199cd1fc60b062250dd186f18013. I read the prepared description, commits, manifest and diff, then usedrepo_read.pyto inspect the changed implementation, declaration, test and relevant CMake configuration. No tests or build commands were run.Results
Findings
Blocking
core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp:681declares the export with an explicitvoid*receiver before theDocumentLoader*, but the matching implementation atcore/libs/prx/libSceNKWebKit/src/EmptyClients.cpp:76has the receiver only in its parameter list, as required by the C++ member-function ABI. This makes the declaration incompatible with the definition and changes the call interface; the new test calls using the declaration atcore/libs/prx/libSceNKWebKit/tests/EmptyClientsCredentialStorage.cpp:12-13, so it exercises the mismatched prototype rather than verifying that the implementation is callable through its actual ABI. Align the declaration with the definition and validate the explicit receiver/argument placement against the intended ABI.Non-blocking
None.
Not verified
Export.cppanddocs/dev/debt/libSceNKWebKit.mdwere excluded from the prepared bundle by size. I read the relevant head ranges throughrepo_read.py; the rest of those files was not reviewed.To get this to a good state
Correct the declaration and implementation/test call shape to agree on the ABI, then rerun the credential-storage test and relevant build checks on the updated head.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T06:43:31Z.
Review: APPROVED
Reviewed — looks good
Nothing in the inspected implementation blocks merging; the PR replaces the export stub with a false-returning implementation and adds focused checks for both identifier extremes.
What I ran
Reviewed head
11ca294abf37761c95b8e47b358447539d593770. I readdescription.md,commits.md,manifest.json,diff.patch, the added-line ranges inLegacyExports.hpp,EmptyClients.cpp, andEmptyClientsCredentialStorage.cpp, and the relevantExport.cpprange. I also searched the NKWebKit tree for the new symbol and test references. No tests or build commands were run.Results
Findings
Blocking
None identified in the inspected code.
Non-blocking
None.
Not verified
docs/dev/debt/changes/nkwebkit-credential-storage-policy.mdcould not be read by the reader.Export.cppwas reviewed only around the removed stub, not in full. I did not run tests, check PS5 ABI behavior, or verify the external WebKit references described in the debt note. The reader also exposed nofiles.json; the manifest lists five changed files, four of which were read at least at the changed-line ranges.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T16:01:07Z.
Review: COMMENTED
I built and ran the branch's
EmptyClientsCredentialStoragefixture on Linux against the existing runtime libraries. It passed both cases for the empty loader client's credential-storage response.AI-assisted: yes.
Pull request closed