feat(libSceNKWebKit): implement WKURL URL component and comparison helpers #15011
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15011"
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 heditrigui on 2026-11-02T09:35:17Z.
What
Implements the remaining
WKURLWebKit C API exports inlibSceNKWebKit:WKURLCopyScheme: extracts and returns the URL scheme protocol (http,https,file,about).WKURLCopyHostName: extracts the host name from the URL authority, stripping userinfo and port, and supporting bracketed IPv6 addresses.WKURLCopyPath: extracts the path component from hierarchical and opaque URLs, excluding queries and fragments.WKURLCopyLastPathComponent: returns the trailing component of the path, trimming trailing slashes according to WebKitURL::lastPathComponentbehavior.WKURLIsEqual: compares twoWKURLRefobjects by equality of their underlying URL strings.WKURLCreateWithBaseURL: resolves relative URL strings against a base URL, supporting scheme-relative (//), root-relative (/), query (?), fragment (#), and relative dot-segments (.and..).Updates
Export.cpp,InventoryExports.hpp, andWebKitValueExports.hpp, and removes implemented functions fromdocs/dev/debt/libSceNKWebKit.md.Tested
core/libs/prx/libSceNKWebKit/tests/Base.cppunderTestURL()covering all helpers across HTTP, HTTPS, File, About, IPv6, and relative path resolutions.tools/check_conventions.pypassed with 0 findings.core/libs/tests/test_public_headers.py --audit-onlyverified 399 libraries and 26,830 exports.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)