feat(libSceNKWebKit): implement WKError property getters #14860

Closed
jagrat04 wants to merge 4 commits from upstream-pr/14860 into main
jagrat04 commented 2026-11-01 20:57:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jagrat04 on 2026-11-01T20:57:31Z.


What

Implement WebKit C API WKError property getters in libSceNKWebKit:

  • WKErrorCopyDomain (NID CbWxMDgV5WQ): copies the error domain string reference, or empty string if unset.
  • WKErrorGetErrorCode (NID Jx+jaw-BVuE): returns the integer error code.
  • WKErrorCopyFailingURL (NID Rcz4V01xRBo): returns a copy of the failing URL reference, or
    ullptr if unset (an explicitly present empty URL returns a URL reference with an empty string, matching oCopiedURLAPI).
  • WKErrorCopyLocalizedDescription: copies the localized description string reference, or empty string if unset.

Also added NKWebKit::Error type with retain/release support matching WebKit C API conventions and unit tests in Base.cpp.

Tested

ools/check_conventions.py --base origin/main passed; 	ools/debt_fold.py --check passed; TestError in core/libs/prx/libSceNKWebKit/tests/Base.cpp tests getters, unset failing URL nullness, empty URL retention, null argument rejection, and type mismatches. Not tested on a PS5.

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:5111493129 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14860). Originally posted by [jagrat04](https://github.com/jagrat04) on 2026-11-01T20:57:31Z. --- ### What Implement WebKit C API WKError property getters in libSceNKWebKit: - WKErrorCopyDomain (NID CbWxMDgV5WQ): copies the error domain string reference, or empty string if unset. - WKErrorGetErrorCode (NID Jx+jaw-BVuE): returns the integer error code. - WKErrorCopyFailingURL (NID Rcz4V01xRBo): returns a copy of the failing URL reference, or ullptr if unset (an explicitly present empty URL returns a URL reference with an empty string, matching oCopiedURLAPI). - WKErrorCopyLocalizedDescription: copies the localized description string reference, or empty string if unset. Also added NKWebKit::Error type with retain/release support matching WebKit C API conventions and unit tests in Base.cpp. ### Tested ools/check_conventions.py --base origin/main passed; ools/debt_fold.py --check passed; TestError in core/libs/prx/libSceNKWebKit/tests/Base.cpp tests getters, unset failing URL nullness, empty URL retention, null argument rejection, and type mismatches. Not tested on a PS5. ### 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
XairRrR commented 2026-11-03 09:12:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T09:12:07Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

This pull request does not merge cleanly into main (4f41f4c375): head f0f1b0c0dcb8ac372150cb1b19ae59ec9fc40c6d conflicts in

  • docs/dev/debt/libSceNKWebKit.md

Please rebase it onto current main. I will review the change once it merges cleanly.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5749549563 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14860#pullrequestreview-5749549563). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-11-03T09:12:07Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested This pull request does not merge cleanly into `main` (4f41f4c375f5abb487dbd184fbc150f31994d762): head f0f1b0c0dcb8ac372150cb1b19ae59ec9fc40c6d conflicts in - `docs/dev/debt/libSceNKWebKit.md` Please rebase it onto current `main`. I will review the change once it merges cleanly. <!-- anyps5-bots job=2469 head=f0f1b0c0dcb8ac372150cb1b19ae59ec9fc40c6d -->
XairRrR commented 2026-11-03 09:30:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T09:30:20Z.

Review: CHANGES_REQUESTED


Re-checked — changes still requested

The new head 0ac6e3d is a rebase of 5df733ad62 onto current main. The code is the same. Only the count line in docs/dev/debt/libSceNKWebKit.md changed. WKErrorCopyFailingURL still returns an empty URL where WebKit returns null, and the debt file still does not record that.

What changed since my last review

No text from my previous review is available, so this re-check covers the whole change again.

I compared the PR's own diff at 5df733ad62 (5df733ad62^..5df733ad62) with the one at 0ac6e3d (0ac6e3d^..0ac6e3d):

  • Export.cpp, Api.hpp, InventoryExports.hpp, WebKitValueExports.hpp, src/Error.cpp, src/Types.hpp and tests/Base.cpp: the hunks are identical. Only blob indices and context differ, because of the rebase.
  • docs/dev/debt/libSceNKWebKit.md, Additional callable exports line:
    • At 5df733ad62 the PR changed the count from 7439 to 7436.
    • At 0ac6e3d the count stays at 7437 (the value on main), and the PR now removes the backticks around NotImplemented_nid_no_patch.
  • The description and checklist have not changed. No author reply since the earlier comments.

What I ran

Head 0ac6e3d2322004ae4590189d34ae7a4ec946025c, main 4f41f4c375f5abb487dbd184fbc150f31994d762, merged tree 96f18615113b00fbe319fb21b0266a28860f6221.

git diff --check 4f41f4c375f5abb487dbd184fbc150f31994d762...0ac6e3d2322004ae4590189d34ae7a4ec946025c
python3 tools/check_conventions.py --base 4f41f4c375f5abb487dbd184fbc150f31994d762
git diff 5df733ad62^ 5df733ad62 > a.patch; git diff 0ac6e3d^ 0ac6e3d > b.patch; diff a.patch b.patch
ninja -C build -j32 -l32 nkwebkit_base_tests
ctest --test-dir build --output-on-failure -R '^nkwebkit_base$'
# negative control: production files from main
git show 4f41f4c375:<each of Export.cpp, include/Api.hpp, include/InventoryExports.hpp, include/WebKitValueExports.hpp, src/Error.cpp, src/Types.hpp> > <path>
ninja -C build -j32 -l32 nkwebkit_base_tests
# restore the merged files
git show 96f18615113b:<same paths> > <path>
ninja -C build -j32 -l32 nkwebkit_base_tests
ctest --test-dir build -R '^nkwebkit_base$'
git status --porcelain
Check Result
git diff --check clean
check_conventions.py All conventions checks passed
Script build and libs (build.json) ok
Script tests (build.json) 831 ran, 828 passed, 2 expected skips, no new failures or timeouts; 1 known failure that also fails on main (unwrap_self_..._inherits_the_destination_directory_group), not caused by this PR
nkwebkit_base (my run) passed, 0.17 s
Negative control Base.cpp fails to compile ('Error' is not a member of 'NKWebKit')
Worktree after restore git status --porcelain empty; nkwebkit_base passes again

Previous findings

No text from my earlier review is available, so I can't list its findings. Below is the open finding from the other review comment, which I re-checked:

  • Still open: WKErrorCopyFailingURL returns an empty URL instead of null when failingURL is unset (raised by oneandonlydean).
    • The code is unchanged at core/libs/prx/libSceNKWebKit/src/Error.cpp:22: return NKWebKit::ToRef(NKWebKit::Make<NKWebKit::URL>(std::string()));.
    • The test still asserts that behaviour at core/libs/prx/libSceNKWebKit/tests/Base.cpp:384-388.
    • The debt file does not mention it.
    • The project rule is that an export either does what the console does or throws. A title that checks the result for null gets a different answer here, so I treat this as blocking.
    • Fix: return nullptr and change the test to Require(WKErrorCopyFailingURL(emptyErrorRef) == nullptr). Or keep the empty URL and add a debt entry that names the difference and the reason.

New findings

Blocking

None beyond the open finding above.

Non-blocking

  1. Backticks removed from the Additional callable exports line (docs/dev/debt/libSceNKWebKit.md:35).
    • The rebased commit changes `NotImplemented_nid_no_patch` to plain NotImplemented_nid_no_patch. Every other entry in the file keeps the backticks.
    • The count stays at 7437, but the PR removes three rows from the table below that line (WKErrorCopyDomain, WKErrorCopyFailingURL, WKErrorGetErrorCode).
    • The file says that inventory prose keeps historical counts, so an unchanged number is acceptable. The formatting change, though, is unrelated noise that will conflict with #15151, the PR set to land first (per nicolasabosch's comment).
    • Fix: restore the line as it is on main, or lower only the count by 3 after rebasing on #15151.
  2. Nothing creates an Error object (core/libs/prx/libSceNKWebKit/src/Types.hpp:104).
    • In the library, NKWebKit::Error appears only in Types.hpp and src/Error.cpp. No load-failure or navigation path creates one, so for now the four getters only work on objects the test builds itself.
    • That is fine as groundwork. It does mean the test checks the getters against the PR's own model, not against an error the library produces.
  3. Leftover double blank line in core/libs/prx/libSceNKWebKit/Export.cpp:15-16, where the four stubs were removed. Cosmetic.

Not verified

  • I did not check WebKit's toCopiedURLAPI null-on-empty behaviour against the source myself (no network). I am relying on the pinned WKErrorRef.cpp / WKSharedAPICast.h links in oneandonlydean's comment.
  • The NID for WKErrorCopyLocalizedDescription is not named in the description or the inventory table. The export was already declared in Api.hpp on main, and I did not check its NID.
  • No PS5 comparison. Windows result is author-reported by maskym for the earlier head 5df733ad62 (same code).

To get this to a good state

  • Make WKErrorCopyFailingURL return nullptr for an unset URL and update Base.cpp:384-388. Or record the empty-URL difference in docs/dev/debt/libSceNKWebKit.md with its reason.
  • Revert the unrelated backtick change on the Additional callable exports line, and rebase the count on top of #15151 once it lands.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5749765180 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14860#pullrequestreview-5749765180). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-11-03T09:30:20Z. **Review:** CHANGES_REQUESTED --- # Re-checked — changes still requested The new head `0ac6e3d` is a rebase of `5df733ad62` onto current `main`. The code is the same. Only the count line in `docs/dev/debt/libSceNKWebKit.md` changed. `WKErrorCopyFailingURL` still returns an empty URL where WebKit returns null, and the debt file still does not record that. ## What changed since my last review No text from my previous review is available, so this re-check covers the whole change again. I compared the PR's own diff at `5df733ad62` (`5df733ad62^..5df733ad62`) with the one at `0ac6e3d` (`0ac6e3d^..0ac6e3d`): - `Export.cpp`, `Api.hpp`, `InventoryExports.hpp`, `WebKitValueExports.hpp`, `src/Error.cpp`, `src/Types.hpp` and `tests/Base.cpp`: the hunks are identical. Only blob indices and context differ, because of the rebase. - `docs/dev/debt/libSceNKWebKit.md`, *Additional callable exports* line: - At `5df733ad62` the PR changed the count from 7439 to 7436. - At `0ac6e3d` the count stays at 7437 (the value on `main`), and the PR now removes the backticks around `NotImplemented_nid_no_patch`. - The description and checklist have not changed. No author reply since the earlier comments. ## What I ran Head `0ac6e3d2322004ae4590189d34ae7a4ec946025c`, `main` `4f41f4c375f5abb487dbd184fbc150f31994d762`, merged tree `96f18615113b00fbe319fb21b0266a28860f6221`. ``` git diff --check 4f41f4c375f5abb487dbd184fbc150f31994d762...0ac6e3d2322004ae4590189d34ae7a4ec946025c python3 tools/check_conventions.py --base 4f41f4c375f5abb487dbd184fbc150f31994d762 git diff 5df733ad62^ 5df733ad62 > a.patch; git diff 0ac6e3d^ 0ac6e3d > b.patch; diff a.patch b.patch ninja -C build -j32 -l32 nkwebkit_base_tests ctest --test-dir build --output-on-failure -R '^nkwebkit_base$' # negative control: production files from main git show 4f41f4c375:<each of Export.cpp, include/Api.hpp, include/InventoryExports.hpp, include/WebKitValueExports.hpp, src/Error.cpp, src/Types.hpp> > <path> ninja -C build -j32 -l32 nkwebkit_base_tests # restore the merged files git show 96f18615113b:<same paths> > <path> ninja -C build -j32 -l32 nkwebkit_base_tests ctest --test-dir build -R '^nkwebkit_base$' git status --porcelain ``` | Check | Result | |---|---| | `git diff --check` | clean | | `check_conventions.py` | All conventions checks passed | | Script build and `libs` (build.json) | ok | | Script tests (build.json) | 831 ran, 828 passed, 2 expected skips, no new failures or timeouts; 1 known failure that also fails on `main` (`unwrap_self_..._inherits_the_destination_directory_group`), not caused by this PR | | `nkwebkit_base` (my run) | passed, 0.17 s | | Negative control | `Base.cpp` fails to compile (`'Error' is not a member of 'NKWebKit'`) | | Worktree after restore | `git status --porcelain` empty; `nkwebkit_base` passes again | ## Previous findings No text from my earlier review is available, so I can't list its findings. Below is the open finding from the other review comment, which I re-checked: - **Still open**: `WKErrorCopyFailingURL` returns an empty URL instead of null when `failingURL` is unset (raised by oneandonlydean). - The code is unchanged at `core/libs/prx/libSceNKWebKit/src/Error.cpp:22`: `return NKWebKit::ToRef(NKWebKit::Make<NKWebKit::URL>(std::string()));`. - The test still asserts that behaviour at `core/libs/prx/libSceNKWebKit/tests/Base.cpp:384-388`. - The debt file does not mention it. - The project rule is that an export either does what the console does or throws. A title that checks the result for null gets a different answer here, so I treat this as blocking. - Fix: return `nullptr` and change the test to `Require(WKErrorCopyFailingURL(emptyErrorRef) == nullptr)`. Or keep the empty URL and add a debt entry that names the difference and the reason. ## New findings ### Blocking None beyond the open finding above. ### Non-blocking 1. **Backticks removed from the *Additional callable exports* line** (`docs/dev/debt/libSceNKWebKit.md:35`). - The rebased commit changes `` `NotImplemented_nid_no_patch` `` to plain `NotImplemented_nid_no_patch`. Every other entry in the file keeps the backticks. - The count stays at 7437, but the PR removes three rows from the table below that line (`WKErrorCopyDomain`, `WKErrorCopyFailingURL`, `WKErrorGetErrorCode`). - The file says that inventory prose keeps historical counts, so an unchanged number is acceptable. The formatting change, though, is unrelated noise that will conflict with #15151, the PR set to land first (per nicolasabosch's comment). - Fix: restore the line as it is on `main`, or lower only the count by 3 after rebasing on #15151. 2. **Nothing creates an `Error` object** (`core/libs/prx/libSceNKWebKit/src/Types.hpp:104`). - In the library, `NKWebKit::Error` appears only in `Types.hpp` and `src/Error.cpp`. No load-failure or navigation path creates one, so for now the four getters only work on objects the test builds itself. - That is fine as groundwork. It does mean the test checks the getters against the PR's own model, not against an error the library produces. 3. **Leftover double blank line** in `core/libs/prx/libSceNKWebKit/Export.cpp:15-16`, where the four stubs were removed. Cosmetic. ## Not verified - I did not check WebKit's `toCopiedURLAPI` null-on-empty behaviour against the source myself (no network). I am relying on the pinned `WKErrorRef.cpp` / `WKSharedAPICast.h` links in oneandonlydean's comment. - The NID for `WKErrorCopyLocalizedDescription` is not named in the description or the inventory table. The export was already declared in `Api.hpp` on `main`, and I did not check its NID. - No PS5 comparison. Windows result is author-reported by maskym for the earlier head `5df733ad62` (same code). ## To get this to a good state - Make `WKErrorCopyFailingURL` return `nullptr` for an unset URL and update `Base.cpp:384-388`. Or record the empty-URL difference in `docs/dev/debt/libSceNKWebKit.md` with its reason. - Revert the unrelated backtick change on the *Additional callable exports* line, and rebase the count on top of #15151 once it lands. <!-- anyps5-bots job=3252 head=0ac6e3d2322004ae4590189d34ae7a4ec946025c -->
adriadam10 commented 2026-11-06 21:23:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-11-06T21:23:05Z.

Review: CHANGES_REQUESTED


  • core/libs/prx/libSceNKWebKit/src/Error.cpp:22: WKErrorCopyFailingURL returns a new empty URL when failingURL is unset, and tests/Base.cpp:384-388 asserts it. WebKit's WKErrorCopyFailingURL goes through toCopiedURLAPI, which returns nullptr for an empty string (as @oneandonlydean pointed out on 2026-11-01). Return a null reference there and update the test (drop the WKURLCopyString on it, check for null), or keep the empty URL and record the difference and its reason in docs/dev/debt/libSceNKWebKit.md.
  • The branch conflicts with main in docs/dev/debt/libSceNKWebKit.md (the "Additional callable exports" count line). #15151 is meant to land first and edits the same line; please rebase after it and recompute the count.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5807183713 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14860#pullrequestreview-5807183713). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-11-06T21:23:05Z. **Review:** CHANGES_REQUESTED --- - `core/libs/prx/libSceNKWebKit/src/Error.cpp:22`: `WKErrorCopyFailingURL` returns a new empty `URL` when `failingURL` is unset, and `tests/Base.cpp:384-388` asserts it. WebKit's `WKErrorCopyFailingURL` goes through `toCopiedURLAPI`, which returns `nullptr` for an empty string (as @oneandonlydean pointed out on 2026-11-01). Return a null reference there and update the test (drop the `WKURLCopyString` on it, check for null), or keep the empty URL and record the difference and its reason in `docs/dev/debt/libSceNKWebKit.md`. - The branch conflicts with `main` in `docs/dev/debt/libSceNKWebKit.md` (the "Additional callable exports" count line). #15151 is meant to land first and edits the same line; please rebase after it and recompute the count.
MarcZX10 commented 2026-11-18 21:42:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-18T21:42:40Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

Changes are required before merge: return an empty URL reference when the failing URL is unset or empty, matching the stated API behavior.

What I ran

Reviewed head 8eedb58986cd3bd4877ba239cc2a6758668b8eb0 using the prepared review artifacts and repo_read.py. No tests or build commands were run; the Linux test result in the description is author-reported.

Results

Check Result Note
Source review failed Failing URL getter contradicts the described empty-string behavior.
Tests not run Only the author-reported run is available.

Findings

Blocking

  • core/libs/prx/libSceNKWebKit/src/Error.cpp:23 returns nullptr when the failing URL is unset or empty, while the PR description specifies an empty string reference. Callers expecting a copyable URL/string reference can receive null instead. Return an empty URL reference for this case and update the corresponding tests.

Non-blocking

None.

Not verified

The description’s ctest -R nkwebkit_base -V result was not independently verified. Export.cpp, InventoryExports.hpp, and docs/dev/debt/libSceNKWebKit.md were excluded from the prepared full-text files; their changes were inspected only in diff.patch. Other repository behavior and console behavior were not run.

Files read: description.md, commits.md, manifest.json, diff.patch, Api.hpp, WebKitValueExports.hpp, Error.cpp, Types.hpp, Base.cpp, Object.hpp, and the beginning of Export.cpp. Files listed as reviewed in the manifest but not read in full: Export.cpp, InventoryExports.hpp, docs/dev/debt/libSceNKWebKit.md.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5965643477 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14860#pullrequestreview-5965643477). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-18T21:42:40Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested Changes are required before merge: return an empty URL reference when the failing URL is unset or empty, matching the stated API behavior. ## What I ran Reviewed head `8eedb58986cd3bd4877ba239cc2a6758668b8eb0` using the prepared review artifacts and `repo_read.py`. No tests or build commands were run; the Linux test result in the description is author-reported. ## Results | Check | Result | Note | |---|---|---| | Source review | failed | Failing URL getter contradicts the described empty-string behavior. | | Tests | not run | Only the author-reported run is available. | ## Findings ### Blocking - `core/libs/prx/libSceNKWebKit/src/Error.cpp:23` returns `nullptr` when the failing URL is unset or empty, while the PR description specifies an empty string reference. Callers expecting a copyable URL/string reference can receive null instead. Return an empty URL reference for this case and update the corresponding tests. ### Non-blocking None. ## Not verified The description’s `ctest -R nkwebkit_base -V` result was not independently verified. `Export.cpp`, `InventoryExports.hpp`, and `docs/dev/debt/libSceNKWebKit.md` were excluded from the prepared full-text files; their changes were inspected only in `diff.patch`. Other repository behavior and console behavior were not run. Files read: `description.md`, `commits.md`, `manifest.json`, `diff.patch`, `Api.hpp`, `WebKitValueExports.hpp`, `Error.cpp`, `Types.hpp`, `Base.cpp`, `Object.hpp`, and the beginning of `Export.cpp`. Files listed as reviewed in the manifest but not read in full: `Export.cpp`, `InventoryExports.hpp`, `docs/dev/debt/libSceNKWebKit.md`.
MarcZX10 commented 2026-11-20 16:50:01 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — comments

The new getters and their unit tests are present, but the review is incomplete because the export files were not fully read and the reported test run was not independently verified.

What I ran

  • Reviewed head a98ee8cc258e3600de592ddf3b0d5ef6a8b8e6c4 using repo_read.py.
  • No commands or tests were run in this review.

Results

Check Result Note
Diff and targeted code review passed Getter implementations and tests inspected
Unit tests not run Test run is author-reported
Export registration not verified Full export files were excluded

Findings

Blocking

None.

Non-blocking

  • The description says WKErrorCopyFailingURL returns an empty string when unset, while the implementation and test return/assert nullptr (core/libs/prx/libSceNKWebKit/src/Error.cpp:23-24). Align the description with the intended URL-reference behavior.

Not verified

  • Full contents of core/libs/prx/libSceNKWebKit/Export.cpp and core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp were not read; only their changed hunks were inspected.
  • The reported ctest -R nkwebkit_base -V result was not independently confirmed.
  • Files read: review/description.md, review/commits.md, review/manifest.json, review/diff.patch, core/libs/prx/libSceNKWebKit/include/Api.hpp, core/libs/prx/libSceNKWebKit/include/WebKitValueExports.hpp, core/libs/prx/libSceNKWebKit/src/Error.cpp, core/libs/prx/libSceNKWebKit/src/Types.hpp, core/libs/prx/libSceNKWebKit/src/Object.hpp, and the relevant range of core/libs/prx/libSceNKWebKit/tests/Base.cpp.
  • Excluded changed files: the full text of Export.cpp and InventoryExports.hpp was unavailable in the review folder; only their diff hunks were inspected. The changed debt note was inspected in the diff.

To get this to a good state

Nothing is required. Optional: clarify the failing URL unset behavior in the description.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5996261708 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14860#pullrequestreview-5996261708). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T16:50:01Z. **Review:** COMMENTED --- # Reviewed — comments The new getters and their unit tests are present, but the review is incomplete because the export files were not fully read and the reported test run was not independently verified. ## What I ran - Reviewed head `a98ee8cc258e3600de592ddf3b0d5ef6a8b8e6c4` using `repo_read.py`. - No commands or tests were run in this review. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted code review | passed | Getter implementations and tests inspected | | Unit tests | not run | Test run is author-reported | | Export registration | not verified | Full export files were excluded | ## Findings ### Blocking None. ### Non-blocking - The description says `WKErrorCopyFailingURL` returns an empty string when unset, while the implementation and test return/assert `nullptr` (`core/libs/prx/libSceNKWebKit/src/Error.cpp:23-24`). Align the description with the intended URL-reference behavior. ## Not verified - Full contents of `core/libs/prx/libSceNKWebKit/Export.cpp` and `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp` were not read; only their changed hunks were inspected. - The reported `ctest -R nkwebkit_base -V` result was not independently confirmed. - Files read: `review/description.md`, `review/commits.md`, `review/manifest.json`, `review/diff.patch`, `core/libs/prx/libSceNKWebKit/include/Api.hpp`, `core/libs/prx/libSceNKWebKit/include/WebKitValueExports.hpp`, `core/libs/prx/libSceNKWebKit/src/Error.cpp`, `core/libs/prx/libSceNKWebKit/src/Types.hpp`, `core/libs/prx/libSceNKWebKit/src/Object.hpp`, and the relevant range of `core/libs/prx/libSceNKWebKit/tests/Base.cpp`. - Excluded changed files: the full text of `Export.cpp` and `InventoryExports.hpp` was unavailable in the review folder; only their diff hunks were inspected. The changed debt note was inspected in the diff. ## To get this to a good state Nothing is required. Optional: clarify the failing URL unset behavior in the description.
MarcZX10 commented 2026-11-20 19:49:07 +00:00 (Migrated from github.com)

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

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the implementation and focused tests support the stated getter behavior, though the tests were not run in this review.

What I ran

Reviewed head afec32c8463e0e22a1aa29c7b80ac6d76a3e2776 using repo_read.py to inspect the prepared description, commits, manifest, diff, and targeted source at the pinned head. No tests or build commands were run. The changed files whose full text was available in the review folder were read where relevant; Export.cpp and InventoryExports.hpp were excluded from the folder and inspected only at the changed declaration locations through the reader.

Results

Check Result Note
Source review passed Getter and object behavior inspected
Build and tests not run Not executed in this review
Console behavior not run Description says not tested on PS5

Findings

Blocking

None.

Non-blocking

None.

Not verified

The author reports convention and debt checks passed and describes TestError coverage; those checks and tests were not run here. Physical PS5 behavior was not verified. The complete text of Export.cpp and InventoryExports.hpp was not read; only their changed portions were reviewed. Other changed files listed in the manifest were read: Api.hpp, WebKitValueExports.hpp, Error.cpp, Types.hpp, Base.cpp, and wkerror-getters.md.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5998477506 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14860#pullrequestreview-5998477506). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T19:49:07Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the implementation and focused tests support the stated getter behavior, though the tests were not run in this review. ## What I ran Reviewed head `afec32c8463e0e22a1aa29c7b80ac6d76a3e2776` using `repo_read.py` to inspect the prepared description, commits, manifest, diff, and targeted source at the pinned head. No tests or build commands were run. The changed files whose full text was available in the review folder were read where relevant; `Export.cpp` and `InventoryExports.hpp` were excluded from the folder and inspected only at the changed declaration locations through the reader. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Getter and object behavior inspected | | Build and tests | not run | Not executed in this review | | Console behavior | not run | Description says not tested on PS5 | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The author reports convention and debt checks passed and describes `TestError` coverage; those checks and tests were not run here. Physical PS5 behavior was not verified. The complete text of `Export.cpp` and `InventoryExports.hpp` was not read; only their changed portions were reviewed. Other changed files listed in the manifest were read: `Api.hpp`, `WebKitValueExports.hpp`, `Error.cpp`, `Types.hpp`, `Base.cpp`, and `wkerror-getters.md`. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 12:55:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T12:55:12Z.

Review: APPROVED


Reviewed — looks good

The inspected implementation matches the stated getter behavior, and no concrete blocking defect was found in the files read.

What I ran

  • Reviewed head 844bb6792fc9c77e5a3b15b7bead9b58360218e1.
  • No commands or tests were run. The description reports convention and debt checks passed and describes TestError; those results were not independently verified.
  • Read description.md, commits.md, manifest.json, diff.patch, and the full changed files Api.hpp, WebKitValueExports.hpp, Error.cpp, Types.hpp, Base.cpp, and wkerror-getters.md. Read relevant ranges of Export.cpp and InventoryExports.hpp through the pinned reader. files.json was not available; the manifest lists those two large files as excluded from the review folder, and the pinned reader was used to inspect their relevant ranges.

Results

Check Result Note
Source review passed Getter behavior and declarations inspected
Tests and checks not run Description reports checks and unit coverage
PS5 behavior not run No console verification reported

Findings

Blocking

None.

Non-blocking

None.

Not verified

  • Build, unit tests, and the reported convention and debt checks were not run.
  • PS5 behavior was not tested.
  • Full contents of the large Export.cpp and InventoryExports.hpp files were not read; only relevant ranges were inspected. Other repository files were not reviewed.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6057991423 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14860#pullrequestreview-6057991423). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T12:55:12Z. **Review:** APPROVED --- # Reviewed — looks good The inspected implementation matches the stated getter behavior, and no concrete blocking defect was found in the files read. ## What I ran - Reviewed head `844bb6792fc9c77e5a3b15b7bead9b58360218e1`. - No commands or tests were run. The description reports convention and debt checks passed and describes `TestError`; those results were not independently verified. - Read `description.md`, `commits.md`, `manifest.json`, `diff.patch`, and the full changed files `Api.hpp`, `WebKitValueExports.hpp`, `Error.cpp`, `Types.hpp`, `Base.cpp`, and `wkerror-getters.md`. Read relevant ranges of `Export.cpp` and `InventoryExports.hpp` through the pinned reader. `files.json` was not available; the manifest lists those two large files as excluded from the review folder, and the pinned reader was used to inspect their relevant ranges. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Getter behavior and declarations inspected | | Tests and checks | not run | Description reports checks and unit coverage | | PS5 behavior | not run | No console verification reported | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified - Build, unit tests, and the reported convention and debt checks were not run. - PS5 behavior was not tested. - Full contents of the large `Export.cpp` and `InventoryExports.hpp` files were not read; only relevant ranges were inspected. Other repository files were not reviewed. ## To get this to a good state Nothing is required.

Pull request closed

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!14860
No description provided.