feat(libSceNKWebKit): implement seven legacy EmptyFrameLoaderClient callbacks #23743

Merged
Dark3581 merged 2 commits from upstream-pr/23743 into main 2026-11-21 10:33:24 +00:00
Dark3581 commented 2026-11-19 15:19:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Dark3581 on 2026-11-19T15:19:17Z.


What

Implements seven 3.20 WebCore::EmptyFrameLoaderClient exports in libSceNKWebKit. All were throwing stubs in Export.cpp.

Their signatures predate the pinned PS5 WebKit 11.x source. For example, 11.x has committedLoad(DocumentLoader*, const SharedBuffer&) and a two-argument dispatchCreatePage. So they follow WebKit Safari-611.1.1 EmptyFrameLoaderClient.h and EmptyClients.cpp. I compared the declarations at Safari-610.1.1, 610.1.18, 610.1.26, 610.2.6, 610.3.3, 611.1.1 and 611.1.9. 610.1.26 through 611.1.1 match all seven exports, and sendH2Ping too.

Export Body
committedLoad(DocumentLoader*, const char*, int) nothing
dispatchDidCommitLoad(Optional<HasInsecureContent>, Optional<UsedLegacyTLS>) nothing
dispatchCreatePage(const NavigationAction&) nullptr
generatedMIMETypeForURLScheme(const String&) const emptyString(), through the referenced shared EmptyStringImpl
pageID() const, frameID() const WTF::nullopt: a disengaged 16-byte WTF::Optional (engaged flag at 0, value at 8), returned in memory because WTF::Optional has a user-provided copy constructor
createJavaAppletWidget(...) null RefPtr<Widget>, returned in memory through an 8-byte non-trivially-copyable holder

None of the seven reads its arguments. The debt fragment adds an Older callable exports entry.

tools/pr_overlap.py --names lists no open PR for any of the seven, and no PR closed by the open-PR limit touches them. --branch shows only the line every NKWebKit PR appends to libSceNKWebKit.hpp. It failed closed on 32 PRs that conflict with main. I grepped each one's diff from its merge base, and none changes these exports.

Tested

Windows 10 22H2, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release, on main b40a0d6dc7 plus this commit.

  • ctest -R "^(nkwebkit_|guest_nkwebkit)": 154 of 154 pass, including the new nkwebkit_emptyloaderlegacycallbacks.
  • The new test checks:
    • the empty string is the shared, referenced empty StringImpl on repeated calls;
    • the no-op callbacks leave their arguments alone;
    • both null results come back with and without argument pointers;
    • pageID and frameID come back disengaged into result buffers pre-filled with 0xa5.
  • tools/check_conventions.py --base origin/main, tools/debt_fold.py --check and tools/env_reference.py --check pass.

No title run: no title on hand reaches these callbacks.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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:5397655285 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23743). Originally posted by [Dark3581](https://github.com/Dark3581) on 2026-11-19T15:19:17Z. --- ### What Implements seven 3.20 `WebCore::EmptyFrameLoaderClient` exports in libSceNKWebKit. All were throwing stubs in `Export.cpp`. Their signatures predate the pinned PS5 WebKit 11.x source. For example, 11.x has `committedLoad(DocumentLoader*, const SharedBuffer&)` and a two-argument `dispatchCreatePage`. So they follow WebKit [Safari-611.1.1 EmptyFrameLoaderClient.h](https://github.com/WebKit/WebKit/blob/Safari-611.1.1/Source/WebCore/loader/EmptyFrameLoaderClient.h) and [EmptyClients.cpp](https://github.com/WebKit/WebKit/blob/Safari-611.1.1/Source/WebCore/loader/EmptyClients.cpp). I compared the declarations at Safari-610.1.1, 610.1.18, 610.1.26, 610.2.6, 610.3.3, 611.1.1 and 611.1.9. 610.1.26 through 611.1.1 match all seven exports, and `sendH2Ping` too. | Export | Body | |---|---| | `committedLoad(DocumentLoader*, const char*, int)` | nothing | | `dispatchDidCommitLoad(Optional<HasInsecureContent>, Optional<UsedLegacyTLS>)` | nothing | | `dispatchCreatePage(const NavigationAction&)` | `nullptr` | | `generatedMIMETypeForURLScheme(const String&) const` | `emptyString()`, through the referenced shared `EmptyStringImpl` | | `pageID() const`, `frameID() const` | `WTF::nullopt`: a disengaged 16-byte `WTF::Optional` (engaged flag at 0, value at 8), returned in memory because `WTF::Optional` has a user-provided copy constructor | | `createJavaAppletWidget(...)` | null `RefPtr<Widget>`, returned in memory through an 8-byte non-trivially-copyable holder | None of the seven reads its arguments. The debt fragment adds an Older callable exports entry. `tools/pr_overlap.py --names` lists no open PR for any of the seven, and no PR closed by the open-PR limit touches them. `--branch` shows only the line every NKWebKit PR appends to `libSceNKWebKit.hpp`. It failed closed on 32 PRs that conflict with `main`. I grepped each one's diff from its merge base, and none changes these exports. ### Tested Windows 10 22H2, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release, on `main` b40a0d6dc7 plus this commit. - `ctest -R "^(nkwebkit_|guest_nkwebkit)"`: 154 of 154 pass, including the new `nkwebkit_emptyloaderlegacycallbacks`. - The new test checks: - the empty string is the shared, referenced empty `StringImpl` on repeated calls; - the no-op callbacks leave their arguments alone; - both null results come back with and without argument pointers; - `pageID` and `frameID` come back disengaged into result buffers pre-filled with 0xa5. - `tools/check_conventions.py --base origin/main`, `tools/debt_fold.py --check` and `tools/env_reference.py --check` pass. No title run: no title on hand reaches these callbacks. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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) and the licence notice of code adapted from upstream (see AGENTS.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
PrivacyOnion commented 2026-11-19 15:21:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-19T15:21:41Z.

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against 2f2676d904:

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_emptyloaderlegacycallbacks_tests built cleanly.
  • CTest (nkwebkit_emptyloaderlegacycallbacks):
    1/1 Test #4642: nkwebkit_emptyloaderlegacycallbacks ...   Passed    0.01 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/Api.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp, core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp, core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified that WebCore::EmptyFrameLoaderClient member functions in WebKit Safari-611.1.1 (committedLoad, dispatchDidCommitLoad, dispatchCreatePage, generatedMIMETypeForURLScheme, createJavaAppletWidget) perform empty/no-op operations or return null/empty values as implemented in EmptyLoaderLegacyCallbacks.cpp.
    • Verified calling conventions, parameter signatures, and return value ABI (WidgetRefPtr non-trivial return struct in memory vs register, String returning EmptyStringImpl, void and pointer returns) in EmptyLoaderLegacyCallbackExports.hpp.
    • Checked memory, pointer safety, and null handling: functions ignore arguments safely without dereferencing, ensuring safe execution even with null guest pointers.
    • Verified technical debt tracking in docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md adhering to AGENTS.md rules.
    • Verified test assertions in EmptyLoaderLegacyCallbacks.cpp thoroughly exercising normal and null invocation paths for all 5 implemented exports.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5977847057 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23743#pullrequestreview-5977847057). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-19T15:21:41Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `2f2676d904`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_emptyloaderlegacycallbacks_tests` built cleanly. - **CTest** (`nkwebkit_emptyloaderlegacycallbacks`): ``` 1/1 Test #4642: nkwebkit_emptyloaderlegacycallbacks ... Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/Api.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp`, `core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp`, `core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified that WebCore::EmptyFrameLoaderClient member functions in WebKit Safari-611.1.1 (committedLoad, dispatchDidCommitLoad, dispatchCreatePage, generatedMIMETypeForURLScheme, createJavaAppletWidget) perform empty/no-op operations or return null/empty values as implemented in EmptyLoaderLegacyCallbacks.cpp. - Verified calling conventions, parameter signatures, and return value ABI (WidgetRefPtr non-trivial return struct in memory vs register, String returning EmptyStringImpl, void and pointer returns) in EmptyLoaderLegacyCallbackExports.hpp. - Checked memory, pointer safety, and null handling: functions ignore arguments safely without dereferencing, ensuring safe execution even with null guest pointers. - Verified technical debt tracking in docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md adhering to AGENTS.md rules. - Verified test assertions in EmptyLoaderLegacyCallbacks.cpp thoroughly exercising normal and null invocation paths for all 5 implemented exports. Looks Good To Me
PrivacyOnion commented 2026-11-19 15:26:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-19T15:26:38Z.

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against e4a19e6bd1:

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_emptyloaderlegacycallbacks_tests built cleanly.
  • CTest (nkwebkit_emptyloaderlegacycallbacks):
    1/1 Test #4642: nkwebkit_emptyloaderlegacycallbacks ...   Passed    0.01 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/Api.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp, core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp, core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified in core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp that all seven EmptyFrameLoaderClient legacy methods ignore their parameters safely without dereferencing guest pointers.
    • Verified ABI representations and calling conventions in core/libs/prx/libSceNKWebKit/include/EmptyLoaderLegacyCallbackExports.hpp, including non-trivially copyable struct return values for WidgetRefPtr and OptionalIdentifier.
    • Verified String return value in generatedMIMETypeForURLScheme properly returns the shared EmptyStringImpl reference as expected by WebKit WTF::String ABI.
    • Verified removal of old stub declarations from Export.cpp, Api.hpp, and LegacyExports.hpp matches the newly exported implementations and avoids symbol collisions or missing symbols.
    • Verified technical debt documentation in docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md adheres to AGENTS.md conventions for older legacy exports and silent stubs.
    • Verified test coverage in core/libs/prx/libSceNKWebKit/tests/EmptyLoaderLegacyCallbacks.cpp exercises null inputs, non-null arguments, empty String checks, and disengaged OptionalIdentifier states.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5977935820 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23743#pullrequestreview-5977935820). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-19T15:26:38Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `e4a19e6bd1`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_emptyloaderlegacycallbacks_tests` built cleanly. - **CTest** (`nkwebkit_emptyloaderlegacycallbacks`): ``` 1/1 Test #4642: nkwebkit_emptyloaderlegacycallbacks ... Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/Api.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp`, `core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp`, `core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified in core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp that all seven EmptyFrameLoaderClient legacy methods ignore their parameters safely without dereferencing guest pointers. - Verified ABI representations and calling conventions in core/libs/prx/libSceNKWebKit/include/EmptyLoaderLegacyCallbackExports.hpp, including non-trivially copyable struct return values for WidgetRefPtr and OptionalIdentifier. - Verified String return value in generatedMIMETypeForURLScheme properly returns the shared EmptyStringImpl reference as expected by WebKit WTF::String ABI. - Verified removal of old stub declarations from Export.cpp, Api.hpp, and LegacyExports.hpp matches the newly exported implementations and avoids symbol collisions or missing symbols. - Verified technical debt documentation in docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md adheres to AGENTS.md conventions for older legacy exports and silent stubs. - Verified test coverage in core/libs/prx/libSceNKWebKit/tests/EmptyLoaderLegacyCallbacks.cpp exercises null inputs, non-null arguments, empty String checks, and disengaged OptionalIdentifier states. Looks Good To Me
MarcZX10 commented 2026-11-19 15:29:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T15:29:33Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head e4a19e6bd16cc440bc840336c5c1e1f3bce028a1. No commands or tests were run; the PR description reports tests run by the author.

Results

Check Result Note
Source review passed New callback implementations and tests read
Tests not run Author reports 154 passing tests
Complete file review not run Export.cpp and other changed files not fully read

Findings

Blocking

None identified in the code reviewed.

Non-blocking

  • The ABI return layouts and argument conventions are described as inferred from upstream WebKit rather than confirmed against a console module. Validate them against the target module when available.

Not verified

Read: description.md, commits.md, manifest.json, diff.patch, EmptyLoaderLegacyCallbackExports.hpp, EmptyLoaderLegacyCallbacks.cpp, its test, libSceNKWebKit.hpp, and the debt fragment. Export.cpp was excluded from the review folder and not read through repo_read.py; Api.hpp and LegacyExports.hpp were present in the diff but their full contents were not reviewed. No tests or build checks were run. The description's reported Windows test results were not independently verified.

To get this to a good state

Nothing is required. Optionally confirm the inferred ABI against a console module when available.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5977986785 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23743#pullrequestreview-5977986785). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T15:29:33Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change; the points below are optional. ## What I ran Reviewed head `e4a19e6bd16cc440bc840336c5c1e1f3bce028a1`. No commands or tests were run; the PR description reports tests run by the author. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | New callback implementations and tests read | | Tests | not run | Author reports 154 passing tests | | Complete file review | not run | `Export.cpp` and other changed files not fully read | ## Findings ### Blocking None identified in the code reviewed. ### Non-blocking - The ABI return layouts and argument conventions are described as inferred from upstream WebKit rather than confirmed against a console module. Validate them against the target module when available. ## Not verified Read: `description.md`, `commits.md`, `manifest.json`, `diff.patch`, `EmptyLoaderLegacyCallbackExports.hpp`, `EmptyLoaderLegacyCallbacks.cpp`, its test, `libSceNKWebKit.hpp`, and the debt fragment. `Export.cpp` was excluded from the review folder and not read through `repo_read.py`; `Api.hpp` and `LegacyExports.hpp` were present in the diff but their full contents were not reviewed. No tests or build checks were run. The description's reported Windows test results were not independently verified. ## To get this to a good state Nothing is required. Optionally confirm the inferred ABI against a console module when available.
PrivacyOnion commented 2026-11-19 16:59:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-19T16:59:57Z.

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against ffd6f658ad:

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_emptyloaderlegacycallbacks_tests built cleanly.
  • CTest (nkwebkit_emptyloaderlegacycallbacks):
    1/1 Test #4648: nkwebkit_emptyloaderlegacycallbacks ...   Passed    0.02 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/Api.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp, core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp, core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp safe parameter handling: all 7 callbacks safely ignore input pointers and return defaults without dereferencing guest pointers
    • Verified core/libs/prx/libSceNKWebKit/include/EmptyLoaderLegacyCallbackExports.hpp ABI layout and calling convention compatibility (APS5_VABI, struct sizes, non-trivial copy semantics for memory-returned types)
    • Verified core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp WTF::String return value correctly constructs and references EmptyStringImpl
    • Verified docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md adheres strictly to technical debt fragment format under 'add Older callable exports'
    • Verified test coverage in core/libs/prx/libSceNKWebKit/tests/EmptyLoaderLegacyCallbacks.cpp tests null and non-null arguments, empty String checks, and disengaged Optional states

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5979595148 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23743#pullrequestreview-5979595148). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-19T16:59:57Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `ffd6f658ad`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_emptyloaderlegacycallbacks_tests` built cleanly. - **CTest** (`nkwebkit_emptyloaderlegacycallbacks`): ``` 1/1 Test #4648: nkwebkit_emptyloaderlegacycallbacks ... Passed 0.02 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/Api.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp`, `core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp`, `core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp safe parameter handling: all 7 callbacks safely ignore input pointers and return defaults without dereferencing guest pointers - Verified core/libs/prx/libSceNKWebKit/include/EmptyLoaderLegacyCallbackExports.hpp ABI layout and calling convention compatibility (APS5_VABI, struct sizes, non-trivial copy semantics for memory-returned types) - Verified core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp WTF::String return value correctly constructs and references EmptyStringImpl - Verified docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md adheres strictly to technical debt fragment format under 'add Older callable exports' - Verified test coverage in core/libs/prx/libSceNKWebKit/tests/EmptyLoaderLegacyCallbacks.cpp tests null and non-null arguments, empty String checks, and disengaged Optional states Looks Good To Me
MarcZX10 commented 2026-11-19 17:15:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T17:15:40Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the ABI declarations and callback bodies are consistent with the stated return behavior, and I found no verified defect.

What I ran

Read the prepared diff and targeted source context at head ffd6f658ade070217ab255c5f61cf2d2ce76e263. No commands or tests were run.

Results

Check Result Note
Diff and targeted source review passed Seven callbacks inspected
Automated checks not run No local execution available

Findings

Blocking

None.

Non-blocking

None.

Not verified

Tests and ABI behavior on the console were not run; the change's debt note also identifies the argument conventions as unverified. Read: Export.cpp diff only, Api.hpp, EmptyLoaderLegacyCallbackExports.hpp, LegacyExports.hpp diff only, libSceNKWebKit.hpp diff only, EmptyLoaderLegacyCallbacks.cpp, its test, and the debt change fragment. Export.cpp full text was excluded as too large; other files omitted from prepared full text were assessed from the diff only. The prepared manifest was read; files.json was not available through the reader.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5979851706 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23743#pullrequestreview-5979851706). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T17:15:40Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the ABI declarations and callback bodies are consistent with the stated return behavior, and I found no verified defect. ## What I ran Read the prepared diff and targeted source context at head `ffd6f658ade070217ab255c5f61cf2d2ce76e263`. No commands or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted source review | passed | Seven callbacks inspected | | Automated checks | not run | No local execution available | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Tests and ABI behavior on the console were not run; the change's debt note also identifies the argument conventions as unverified. Read: `Export.cpp` diff only, `Api.hpp`, `EmptyLoaderLegacyCallbackExports.hpp`, `LegacyExports.hpp` diff only, `libSceNKWebKit.hpp` diff only, `EmptyLoaderLegacyCallbacks.cpp`, its test, and the debt change fragment. `Export.cpp` full text was excluded as too large; other files omitted from prepared full text were assessed from the diff only. The prepared manifest was read; `files.json` was not available through the reader. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-19 19:49:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T19:49:39Z.

Review: COMMENTED


Reviewed — no blocking findings

The reviewed implementation adds seven legacy EmptyFrameLoaderClient exports with no verified blocking defects; the ABI assumptions are documented as unverified against a console module.

What I ran

No commands were run. I read the prepared diff and changed source and test files through repo_read.py at head 5b7fb9f04e6584049d0fd12af9732147c7afcd48. The author reports running 154 tests and convention and debt checks; I did not run those checks.

Results

Check Result Note
Source and test review passed Reviewed included changed files
Reported automated checks not run Results are author reported
Console ABI behavior not run No console comparison was performed

Findings

Blocking

None identified in the code read.

Non-blocking

  • The ABI return layouts for OptionalIdentifier and WidgetRefPtr remain inferred rather than confirmed against a console module. The debt entry records this limitation; a console comparison would strengthen confidence in these exports (EmptyLoaderLegacyCallbackExports.hpp:23, EmptyLoaderLegacyCallbackExports.hpp:31).

Not verified

Export.cpp was excluded from the review folder because it was too large; only the changed hunks in diff.patch were inspected, not its full text. Api.hpp and LegacyExports.hpp were listed as changed but add no lines; their full text was not read. The ABI behavior on console and the reported Windows test runs were not independently verified. All other changed files listed in the manifest were read.

To get this to a good state

Nothing is required. Optional: confirm the return layouts against a console module when one is available.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5982197548 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23743#pullrequestreview-5982197548). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T19:49:39Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The reviewed implementation adds seven legacy `EmptyFrameLoaderClient` exports with no verified blocking defects; the ABI assumptions are documented as unverified against a console module. ## What I ran No commands were run. I read the prepared diff and changed source and test files through `repo_read.py` at head `5b7fb9f04e6584049d0fd12af9732147c7afcd48`. The author reports running 154 tests and convention and debt checks; I did not run those checks. ## Results | Check | Result | Note | |---|---|---| | Source and test review | passed | Reviewed included changed files | | Reported automated checks | not run | Results are author reported | | Console ABI behavior | not run | No console comparison was performed | ## Findings ### Blocking None identified in the code read. ### Non-blocking - The ABI return layouts for `OptionalIdentifier` and `WidgetRefPtr` remain inferred rather than confirmed against a console module. The debt entry records this limitation; a console comparison would strengthen confidence in these exports (`EmptyLoaderLegacyCallbackExports.hpp:23`, `EmptyLoaderLegacyCallbackExports.hpp:31`). ## Not verified `Export.cpp` was excluded from the review folder because it was too large; only the changed hunks in `diff.patch` were inspected, not its full text. `Api.hpp` and `LegacyExports.hpp` were listed as changed but add no lines; their full text was not read. The ABI behavior on console and the reported Windows test runs were not independently verified. All other changed files listed in the manifest were read. ## To get this to a good state Nothing is required. Optional: confirm the return layouts against a console module when one is available.
MarcZX10 commented 2026-11-20 16:47:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T16:47:01Z.

Review: COMMENTED


Reviewed — no blocking findings

The implementation matches the stated callback behavior in the code inspected, but ABI behavior on a console was not verified.

What I ran

Reviewed head d92a57b7df9841a9c1776e38bacc7eb9b0c9f192. I did not run commands or tests; the test results in the PR description are author-reported.

Results

Check Result Note
Changed implementation and tests passed Included changed files read
Automated checks not run Results reported by author
Console ABI behavior not run Debt note says conventions are unverified

Findings

Blocking

None.

Non-blocking

  • The new return-value ABI wrappers have compile-time size and trivial-copy checks, and the included test exercises their host behavior. Their console calling conventions remain unverified, as recorded in the debt entry (core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp:24 and docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md:5). Confirm these conventions against a console module or equivalent ABI evidence when available.

Not verified

  • Export.cpp was excluded because it is too large for the review folder; its surrounding implementation was not read. files.json was not available as a review-folder document, so exclusions were taken from the manifest and file listing.
  • No local checks, build, or test suite was run. Console execution and comparison against the console module were not verified.
  • Read: description.md, commits.md, manifest.json, diff.patch, Api.hpp, EmptyLoaderLegacyCallbackExports.hpp, libSceNKWebKit.hpp, EmptyLoaderLegacyCallbacks.cpp, tests/EmptyLoaderLegacyCallbacks.cpp, and the debt change entry. Excluded: Export.cpp; the full text of LegacyExports.hpp was not read (only its diff was inspected).

To get this to a good state

Nothing is required. Optional: obtain console ABI evidence for the callback return conventions.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5996219422 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23743#pullrequestreview-5996219422). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T16:47:01Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The implementation matches the stated callback behavior in the code inspected, but ABI behavior on a console was not verified. ## What I ran Reviewed head `d92a57b7df9841a9c1776e38bacc7eb9b0c9f192`. I did not run commands or tests; the test results in the PR description are author-reported. ## Results | Check | Result | Note | |---|---|---| | Changed implementation and tests | passed | Included changed files read | | Automated checks | not run | Results reported by author | | Console ABI behavior | not run | Debt note says conventions are unverified | ## Findings ### Blocking None. ### Non-blocking - The new return-value ABI wrappers have compile-time size and trivial-copy checks, and the included test exercises their host behavior. Their console calling conventions remain unverified, as recorded in the debt entry (`core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp:24` and `docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md:5`). Confirm these conventions against a console module or equivalent ABI evidence when available. ## Not verified - `Export.cpp` was excluded because it is too large for the review folder; its surrounding implementation was not read. `files.json` was not available as a review-folder document, so exclusions were taken from the manifest and file listing. - No local checks, build, or test suite was run. Console execution and comparison against the console module were not verified. - Read: `description.md`, `commits.md`, `manifest.json`, `diff.patch`, `Api.hpp`, `EmptyLoaderLegacyCallbackExports.hpp`, `libSceNKWebKit.hpp`, `EmptyLoaderLegacyCallbacks.cpp`, `tests/EmptyLoaderLegacyCallbacks.cpp`, and the debt change entry. Excluded: `Export.cpp`; the full text of `LegacyExports.hpp` was not read (only its diff was inspected). ## To get this to a good state Nothing is required. Optional: obtain console ABI evidence for the callback return conventions.
MarcZX10 commented 2026-11-20 19:37:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T19:37:37Z.

Review: COMMENTED


Reviewed — no blocking findings

The implementation and included tests are readable, but ABI behavior has not been confirmed against a console module and the reported checks were not run in this review.

What I ran

Read the prepared diff and targeted source at head 9735c434e2b4f1452ca93ba44d424af48acb4062; no commands or tests were run.

Results

Check Result Note
Source review passed Callback bodies and tests read
Reported test suite not run Results are author-reported
Console ABI behavior not run Debt note records this limitation

Findings

Blocking

None.

Non-blocking

  • The return-value ABI assumptions for pageID, frameID, and createJavaAppletWidget remain unverified on the console. The debt note records this; confirm against a console module when one is available. See core/libs/prx/libSceNKWebKit/include/EmptyLoaderLegacyCallbackExports.hpp:44 and docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md:5.

Sources

Not verified

The changed implementation, export declaration, and test source were read. Export.cpp was inspected only at its opening line; Api.hpp, LegacyExports.hpp, and libSceNKWebKit.hpp were not read in full. Those three changed files and Export.cpp were excluded from full-text review. The test results and checks described in the PR body were not independently verified; no physical-console behavior was tested.

To get this to a good state

Nothing is required. The console ABI confirmation is optional follow-up.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5998336929 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/23743#pullrequestreview-5998336929). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T19:37:37Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The implementation and included tests are readable, but ABI behavior has not been confirmed against a console module and the reported checks were not run in this review. ## What I ran Read the prepared diff and targeted source at head `9735c434e2b4f1452ca93ba44d424af48acb4062`; no commands or tests were run. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Callback bodies and tests read | | Reported test suite | not run | Results are author-reported | | Console ABI behavior | not run | Debt note records this limitation | ## Findings ### Blocking None. ### Non-blocking - The return-value ABI assumptions for `pageID`, `frameID`, and `createJavaAppletWidget` remain unverified on the console. The debt note records this; confirm against a console module when one is available. See `core/libs/prx/libSceNKWebKit/include/EmptyLoaderLegacyCallbackExports.hpp:44` and `docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md:5`. ## Sources - [Callback implementation at reviewed head](https://github.com/boykopovar/AnyPS5/blob/9735c434e2b4f1452ca93ba44d424af48acb4062/core/libs/prx/libSceNKWebKit/src/EmptyLoaderLegacyCallbacks.cpp) - [Recorded ABI limitation at reviewed head](https://github.com/boykopovar/AnyPS5/blob/9735c434e2b4f1452ca93ba44d424af48acb4062/docs/dev/debt/changes/feat-nkwebkit-empty-loader-legacy-callbacks.md) ## Not verified The changed implementation, export declaration, and test source were read. `Export.cpp` was inspected only at its opening line; `Api.hpp`, `LegacyExports.hpp`, and `libSceNKWebKit.hpp` were not read in full. Those three changed files and `Export.cpp` were excluded from full-text review. The test results and checks described in the PR body were not independently verified; no physical-console behavior was tested. ## To get this to a good state Nothing is required. The console ABI confirmation is optional follow-up.
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!23743
No description provided.