feat(libSceNKWebKit): implement WebCore::CredentialBase and SecurityOrigin::isLocalHostOrLoopbackIPAddress #15212
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15212"
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 simnJS on 2026-11-02T20:48:15Z.
What
Implements 11
libSceNKWebKitexports: the ten ofWebCore::CredentialBase(constructors,compare,hasPassword,persistence,user,password,isEmpty) andWebCore::SecurityOrigin::isLocalHostOrLoopbackIPAddress.They follow
Source/WebCore/platform/network/CredentialBase.hand.cppandSource/WebCore/page/SecurityOrigin.cppof the PS5 11.x WebKit snapshot neonmodder123/PS5-WebKit-11.x at 80f77e9, the snapshot #13992 uses. The object layout comes from those sources and is not verified against the console module; the debt file records it.Tested
Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release:
nkwebkit_credentialbaseandnkwebkit_securityoriginpass. Only these tests were run, not the full suite. Not run on Linux or on a title.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-02T20:53:03Z.
Review: COMMENTED
Reviewed — no blocking findings
At head
6221c5a54959739438324ef3a2e390a75f6b4e03, the implementations match the pinned WebKit behavior I checked; I’m withholding approval while the six hosted checks remain queued.What I ran
Reviewed all 11 changed files at head
6221c5a54959739438324ef3a2e390a75f6b4e03, against base9090972b7e91fd266819cbd77a8b058e177b5682. The head merges cleanly with that base. Environment: Debian Linux x86_64, Python 3.11.2, GCC 12.2.0. I did not build or compile.Results
Commands and check output
The precheck’s relevant table is reproduced below without edits:
The precheck deliberately does not configure, build, or compile AnyPS5.git diff --check 9090972b7e91fd266819cbd77a8b058e177b5682...6221c5a54959739438324ef3a2e390a75f6b4e03/usr/bin/python3 tools/check_conventions.py --base 9090972b7e91fd266819cbd77a8b058e177b5682 --head 6221c5a54959739438324ef3a2e390a75f6b4e03 --title feat(libSceNKWebKit): implement WebCore::CredentialBase and SecurityOrigin::isLocalHostOrLoopbackIPAddress --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15212-6221c5a54959/pr-body.md/usr/bin/python3 tools/pr_abi_audit.py --base 9090972b7e91fd266819cbd77a8b058e177b5682 --head 6221c5a54959739438324ef3a2e390a75f6b4e03 --jsonNo changed Python implementation files.No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.No changed test_*.py files./usr/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 15212 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15212-6221c5a54959/stackNot run: C++ tests need exact-head binaries, which require a build; the precheck does not build./usr/bin/python3 /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15212-6221c5a54959/head-6221c5a54959-35af211e/tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15212-6221c5a54959/head-6221c5a54959-35af211e --json core/libs/prx/libSceNKWebKit/Export.cpp core/libs/prx/libSceNKWebKit/include/CredentialBaseExports.hpp core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp core/libs/prx/libSceNKWebKit/include/SecurityOriginExports.hpp core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp core/libs/prx/libSceNKWebKit/src/CredentialBase.cpp core/libs/prx/libSceNKWebKit/src/CredentialBaseAbi.hpp core/libs/prx/libSceNKWebKit/src/SecurityOrigin.cpp core/libs/prx/libSceNKWebKit/tests/CredentialBase.cpp core/libs/prx/libSceNKWebKit/tests/SecurityOrigin.cpp docs/dev/debt/libSceNKWebKit.mdNo changed Python test module in tools/ can be run as a no-build base-source control.The precheck could not find its ABI and test-quality helper scripts in the isolated PR snapshot. I ran the ABI audit from the workspace separately; it passed. The test-quality warnings are false positives: the library uses
file(GLOB ... tests/*.cpp)and registers the globbed tests in CMake.Negative control
Findings
Blocking
None found in the reviewed source.
Non-blocking
None.
Sources
Not verified
I did not build or run CTest, the two new C++ suites, or PS5 console behavior. All six hosted checks were queued at the final refresh. The ABI audit is lexical and does not prove target calling convention or runtime binary layout.
To get this to a good state
No code change is requested. Let the queued hosted checks finish; if the head changes, I will rerun the precheck and relevant checks on the new head before revisiting approval.