feat(libSceNKWebKit): implement WKPage remote inspection, pending URL, and configuration accessors #23759
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/23759"
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-19T15:59:21Z.
What
feat(libSceNKWebKit): implement
WKPageGetAllowsRemoteInspection,WKPageSetAllowsRemoteInspection,WKPageCopyPendingAPIRequestURL, andWKPageCopyPageConfiguration.WKPageGetAllowsRemoteInspectionandWKPageSetAllowsRemoteInspection: query and configure the remote inspection boolean flag onPage.WKPageCopyPendingAPIRequestURL: copies the retained pending API request URL if set, or returns null.WKPageCopyPageConfiguration: copies the retained page configuration if set, or returns null.NKWebKit::Cast<NKWebKit::Page>, throwingstd::invalid_argumenton null references or mismatched type IDs.core/libs/prx/libSceNKWebKit/tests/PageState.cpptesting initial defaults, mutations, round-trips, and invalid argument handling.docs/dev/debt/changes/feat-nkwebkit-page-remote-inspection-and-pending-url.md.Tested
git diff --check.tools/check_conventions.py --base upstream/main(0 errors).tools/debt_fold.py --check.tools/pr_overlap.py(0 collisions).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch).mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-19T16:20:30Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
2186780156:tools/check_conventions.pypassed.nkwebkit_pagestate_testsbuilt cleanly.nkwebkit_pagestate):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.hpp,core/libs/prx/libSceNKWebKit/src/PageState.cppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T09:49:00Z.
Review: COMMENTED
Reviewed — comments
The accessors follow existing page-state and retained-reference patterns, but two changed files were excluded from direct review and no tests were run, so this review is incomplete.
What I ran
Reviewed head
21867801563c24eb7965fb9fd2653ee2ab91c62cusing the prepared diff and pinned reader. No commands or tests were run; no merged-preview check was performed.Results
Findings
Blocking
None identified in the code inspected.
Non-blocking
None.
Not verified
The full text of
core/libs/prx/libSceNKWebKit/Export.cppandcore/libs/prx/libSceNKWebKit/include/InventoryExports.hppwas excluded as too large for the review folder; their removed stubs and declarations were visible in the prepared diff only. The other changed files were read, including all added lines listed in the manifest. No tests, build, or console behavior were verified.To get this to a good state
Nothing is required. The review remains incomplete because the two excluded files and test results were not verified.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T12:18:56Z.
Review: COMMENTED
Reviewed — no blocking findings
The inspected implementation and tests show no verified blocking defect; approval is deferred because build and test checks were not run and two changed files were only inspected at the relevant ranges.
What I ran
Reviewed head
f6f6cd21b6f1e6962094ec70f74a735f5676dd61from the prepared bundle and repository source. No commands or tests were run.Results
Findings
Blocking
None verified in the inspected code.
Non-blocking
None.
Not verified
The changed files
core/libs/prx/libSceNKWebKit/Export.cppandcore/libs/prx/libSceNKWebKit/include/InventoryExports.hppwere excluded from the review bundle; only the relevant ranges were read through repository access. No build, test, convention, debt-fold, or overlap checks were run. Physical-console behavior was not verified.Files read:
core/libs/prx/libSceNKWebKit/include/WebKitValueExports.hpp,core/libs/prx/libSceNKWebKit/src/Configuration.hpp,core/libs/prx/libSceNKWebKit/src/PageState.cpp,core/libs/prx/libSceNKWebKit/tests/PageState.cpp,core/libs/prx/libSceNKWebKit/src/Object.hpp,core/libs/prx/libSceNKWebKit/CMakeLists.txt, and relevant ranges ofcore/libs/prx/libSceNKWebKit/Export.cppandcore/libs/prx/libSceNKWebKit/include/InventoryExports.hpp. Also readdescription.md,commits.md,manifest.json, anddiff.patch. No other changed file text was excluded from inspection.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T21:17:31Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
349737019b4ad96c48a6475ec43709abd1c2f03cusing the provided PR reader. No commands or automated checks were run.Results
Negative control
Not run; no negative-control change was made.
Findings
Blocking
None.
Non-blocking
None.
Sources
Reviewed the prepared diff and the changed files at the pinned head. Behavior claims are limited to the code shown in those sources.
Not verified
Build, unit tests, and the author-reported checks were not run or independently confirmed.
Export.cppandInventoryExports.hppwere inspected around the changed symbol locations; their full contents were not read.To get this to a good state
Nothing is required. Optional: run the project checks and PageState tests on this head.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T22:19:03Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the reviewed code and tests support merging.
What I ran
Reviewed head
29afc817e6333559850866f6dab734b017cef0eb. No commands or tests were run; review was based on the prepared diff and targeted source reads.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
Export.cppandInventoryExports.hppwere excluded from the prepared review folder because they were too large; their relevant changed ranges were read through the pinned reader. No automated build or tests were run. All changed files listed in the manifest were reviewed at least in the relevant changed ranges.To get this to a good state
Nothing is required.