feat(nkwebkit): implement empty new-window policy callback #17805
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17805"
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-09T16:50:26Z.
What
Implement EmptyFrameLoaderClient::dispatchDecidePolicyForNewWindowAction as the no-op defined by pinned WebKit 11.x and correct its declaration to void.
On hold:
EmptyFrameLoaderClientcannot be constructed yet (its four constructors throw and the module has no vtable for it), so no caller reaches this member until the client can be created.Tested
Linux:
suite.py feat/nkwebkit-empty-window-policy-callbackate49592a7c7: CTest 6573/6574 passed; guest_libressl_tls_engine_transport failed once and passed on rerun; 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:23:28Z.
Review: APPROVED
Reviewed — looks good
The callback implementation and corrected declaration are consistent with the stated no-op behavior; the change is limited to that symbol and its debt documentation.
What I ran
Reviewed head
8b472111c8cb451bff3b6ed5976abfc8f28e7802using the prepared diff andrepo_read.pyreader. No tests or build commands were run. The author reports CTest and conventions passed at a different commit,1a992b34c7.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
Read
core/libs/prx/libSceNKWebKit/include/LegacyExports.hpparound the changed declaration and all ofcore/libs/prx/libSceNKWebKit/src/EmptyClients.cpp. The prepared diff was reviewed forcore/libs/prx/libSceNKWebKit/Export.cppanddocs/dev/debt/libSceNKWebKit.md, but their full texts were excluded by size and not read. Console ABI behavior and tests on this exact head were not verified.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T06:45:47Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the implementation and debt entry support the stated no-op policy callback behavior.
What I ran
Reviewed head
e49592a7c74a38dbc35bb887ebbf69d61b1875f3. Read the prepared description, commits, manifest and diff, plus the added implementation, changed declaration and relevant symbol references throughrepo_read.py. No commands or tests were run; the Linux test results in the PR description are author-reported.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The full text of
Export.cppwas excluded because it was too large; its diff hunk was reviewed.review/files.jsonwas unavailable through the reader, so the reviewed-file inventory could not be confirmed. The remaining portion ofLegacyExports.hpp, console ABI behavior, and the author-reported test run were not independently verified. Read:description.md,commits.md,manifest.json,diff.patch,EmptyClients.cpp, and lines 512–530 ofLegacyExports.hpp. Excluded: fullExport.cpp.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T16:54:19Z.
Review: COMMENTED
Current main already defines the new-window policy callback in
NoOpExports.cppand calls it inEmptyExports.cpp. Git merges this head cleanly, but compiling and linking the two merged objects fails with a duplicatedispatchDecidePolicyForNewWindowActiondefinition. Keep one definition if this branch still carries a change you need.AI-assisted: yes.
Pull request closed