feat(libSceNKWebKit): implement WKFormSubmissionListenerContinue #15184

Merged
adriaespii merged 4 commits from upstream-pr/15184 into main 2026-11-26 06:56:09 +00:00
adriaespii commented 2026-11-02 20:18:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriaespii on 2026-11-02T20:18:39Z.


What

  • Implement \WKFormSubmissionListenerContinue.
  • Move \FormSubmissionListener\ to \Types.hpp\ and invoke its one-shot completion handler per WebFormSubmissionListenerProxy.cpp.
  • Add test coverage in \Base.cpp\ verifying single-invocation and reentrancy semantics.
  • Update debt documentation.

Tested

\Base.cpp\ unit tests.

Checklist

  • Based on current \main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (\NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md\ files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5126813909 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15184). Originally posted by [adriaespii](https://github.com/adriaespii) on 2026-11-02T20:18:39Z. --- ### What - Implement \WKFormSubmissionListenerContinue\. - Move \FormSubmissionListener\ to \Types.hpp\ and invoke its one-shot completion handler per [WebFormSubmissionListenerProxy.cpp](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebKit/UIProcess/WebFormSubmissionListenerProxy.cpp#L31). - Add test coverage in \Base.cpp\ verifying single-invocation and reentrancy semantics. - Update debt documentation. ### Tested \Base.cpp\ unit tests. ### Checklist - [x] Based on current \main\; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (\NotImplemented_nid_no_patch\); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation \.md\ files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-11-20 21:23:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T21:23:34Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this; the implementation matches the described one-shot completion behavior, and the inspected code supports merging.

What I ran

Reviewed head 80b2ac83637cdf212999ef9514b59ebbd645df56. No tests or build commands were run. Read description.md, commits.md, manifest.json, diff.patch, FormSubmissionListener.cpp, Types.hpp, Object.hpp, WebKitValueExports.hpp, Export.cpp, InventoryExports.hpp, TypeIds.cpp, Base.cpp, and CMakeLists.txt. The three files excluded from the review folder were read through repo_read.py; all seven changed files listed in the manifest were reviewed.

Results

Check Result Note
Diff and targeted code review passed One-shot callback behavior is consistent
Build and tests not run No commands run

Findings

Blocking

None.

Non-blocking

None.

Not verified

Build and test execution, console ABI behavior, and runtime integration with frame form-submission clients were not verified. The change documents that listener instances remain test-driven until such clients are wired.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5999604529 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15184#pullrequestreview-5999604529). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T21:23:34Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this; the implementation matches the described one-shot completion behavior, and the inspected code supports merging. ## What I ran Reviewed head `80b2ac83637cdf212999ef9514b59ebbd645df56`. No tests or build commands were run. Read `description.md`, `commits.md`, `manifest.json`, `diff.patch`, `FormSubmissionListener.cpp`, `Types.hpp`, `Object.hpp`, `WebKitValueExports.hpp`, `Export.cpp`, `InventoryExports.hpp`, `TypeIds.cpp`, `Base.cpp`, and `CMakeLists.txt`. The three files excluded from the review folder were read through `repo_read.py`; all seven changed files listed in the manifest were reviewed. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted code review | passed | One-shot callback behavior is consistent | | Build and tests | not run | No commands run | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Build and test execution, console ABI behavior, and runtime integration with frame form-submission clients were not verified. The change documents that listener instances remain test-driven until such clients are wired. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 22:38:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T22:38:32Z.

Review: APPROVED


Reviewed — looks good

The implementation and its focused tests support merging at head 36d236d555d5259ae588bb131dff2dd357ffbc17; the test suite was not run in this review.

What I ran

Inspected the prepared diff and targeted source at the pinned head. No commands or tests were run.

Results

Check Result Note
Diff and changed code passed Focused behavior inspected
Automated tests not run No test execution available

Findings

Blocking

None.

Non-blocking

None.

Not verified

Full text for core/libs/prx/libSceNKWebKit/Export.cpp and docs/dev/debt/libSceNKWebKit.md was excluded from the review bundle and not read through the pinned reader. The diff shows their relevant changes; broader file content and runtime behavior were not verified. InventoryExports.hpp was included but not read because the diff shows only removal of the obsolete declaration.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6065957391 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15184#pullrequestreview-6065957391). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T22:38:32Z. **Review:** APPROVED --- # Reviewed — looks good The implementation and its focused tests support merging at head `36d236d555d5259ae588bb131dff2dd357ffbc17`; the test suite was not run in this review. ## What I ran Inspected the prepared diff and targeted source at the pinned head. No commands or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and changed code | passed | Focused behavior inspected | | Automated tests | not run | No test execution available | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Full text for `core/libs/prx/libSceNKWebKit/Export.cpp` and `docs/dev/debt/libSceNKWebKit.md` was excluded from the review bundle and not read through the pinned reader. The diff shows their relevant changes; broader file content and runtime behavior were not verified. `InventoryExports.hpp` was included but not read because the diff shows only removal of the obsolete declaration. ## To get this to a good state Nothing is required.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!15184
No description provided.