feat(libSceNKWebKit): implement WKContext URL scheme registration #18831
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18831"
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-12T11:56:52Z.
What
Implements
WKContextRegisterURLSchemeAsBypassingContentSecurityPolicy,WKContextRegisterURLSchemeAsCachePartitioned,WKContextRegisterURLSchemeAsCanDisplayOnlyIfCanRequest,WKContextRegisterURLSchemeAsEmptyDocument, andWKContextRegisterURLSchemeAsSecureinlibSceNKWebKit(ContextURLSchemes.cpp), recording registered URL schemes onNKWebKit::ProcessPooland adding unit tests intests/ContextURLSchemes.cpp.Tested
python tools/check_conventions.py --base upstream/mainpassed.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 PrivacyOnion on 2026-11-12T12:05:56Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
67a97dec4c:tools/check_conventions.pypassed;git diff --checkclean.nkwebkit_contexturlschemes_testsfailed to build.Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-12T13:02:09Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
89fa294706:tools/check_conventions.pypassed;git diff --checkclean.nkwebkit_contexturlschemes_testsfailed to build.Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-12T22:04:21Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
9680b2df98:tools/check_conventions.pypassed;git diff --checkclean.nkwebkit_contexturlschemes_testsfailed to build.Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-13T03:44:23Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
9513bf2a74:tools/check_conventions.pypassed;git diff --checkclean.nkwebkit_contexturlschemes_testsbuilt cleanly.nkwebkit_contexturlschemes):core/libs/prx/libSceNKWebKit/Export.cpp,core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp,core/libs/prx/libSceNKWebKit/include/WebKitValueExports.hpp,core/libs/prx/libSceNKWebKit/src/Configuration.hppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me