feat(libSceNKWebKit): implement 54 Inspector frontend dispatcher events #22689

Closed
RiverWhy wants to merge 11 commits from upstream-pr/22689 into main
RiverWhy commented 2026-11-18 02:38:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by RiverWhy on 2026-11-18T02:38:32Z.


What

Stacked on #22678 (its two commits come first): it reuses the shortest-double formatter that #22678 adds to WtfNumberFormat.cpp.

Implements 54 11.x Inspector frontend dispatcher events, every event export still throwing on main except the two ConsoleMessage ones and the 3.20 Heap.trackingStart. By domain: DOM 13, Page 6, Canvas 5, Animation 4, Debugger 4, Network 4, CSS 3, Target 3, Timeline 3, Worker 3, ApplicationCache 2, Heap 2, Inspector 1, LayerTree 1 and ScriptProfiler 1.

Each event builds {"method":"Domain.event","params":{...}} and passes it to the existing FrontendRouter::sendEvent, as the 11.x generated InspectorFrontendDispatchers.cpp does. The parameters are strings, integers, doubles, booleans and two enums (DOM.CustomElementState and Recording.Initiator).

Source: the pinned protocol as expanded by the frontend dispatcher generator, plus the JSON writer in JSONValues.cpp and StringBuilderJSON.cpp (PS5 11.x).

Details:

  • Event shape. Keys keep insertion order, with no spaces. An event without parameters has no params object.
  • Strings are escaped as appendQuotedJSONString does: \b \t \n \f \r \" \\, other characters below 0x20 as \u00xx, and unpaired surrogates as lowercase \uxxxx. Valid pairs are copied unchanged. A null String writes "".
  • Numbers (integers included) use WebKit's shortest double form, and NaN or infinity write null.
  • Message bitness. The message is 8-bit unless a 16-bit string argument made the builder upconvert, as WebKit's StringBuilder does.
  • Enum values are the indices into the generated enum_constant_values table: CustomElementState is 112–115 and Initiator is 222–224. That table has no #if entries, so its indices are the same in every port.
  • Refusals. An enum value outside its type throws std::out_of_range, where WebKit reads past the table. A null dispatcher or string pointer throws.

Debt: a fragment, docs/dev/debt/changes/feat-nkwebkit-inspector-frontend-events.md, adds the entry and removes the 54 inventory rows.

Overlap: pr_overlap.py --names finds no open PR with these exports.

Tested

Linux Mint 22.3. The pinned 11.x tree built as JSCOnly compiles the generated frontend dispatchers for every domain into libJavaScriptCore.so. A shared driver calls random events on both sides with:

  • null, 8-bit and 16-bit strings with quotes, backslashes, control characters, 0x7F–0xFF, valid and unpaired surrogates;
  • integers including INT_MIN/INT_MAX;
  • doubles including ±0, NaN, ±infinity, 1e21-scale, 1e-7-scale and random bit patterns;
  • booleans and every enum value.

On one side it calls the real generated methods through a real FrontendRouter with a capturing FrontendChannel. On the other it calls these exports through main's FrontendRouter and a fake channel. It hashes each captured message's bitness and characters.

  • New nkwebkit_inspectorfrontendevents test: 16 sequences of 1,000 events match. As a one-off, 200 sequences of 10,000 also matched.
  • Hand checks:
    • exact text for a parameterless event, escaping, a null string, numbers, null for infinity, and a 16-bit message with an unpaired surrogate;
    • enum range and null refusals, which send nothing.
  • Negative control: escaping 0x7F as \u007f fails the transcript check.
  • The full build succeeds, and all 133 NKWebKit tests pass.

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: #22678
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

Summary by CodeRabbit

  • New Features
    • Added support for Web Inspector events across page, network, debugger, DOM, and other inspection areas, with event data serialized as JSON.
    • Added atom-string creation, lookup, conversion, and formatting support for WebKit.
  • Bug Fixes
    • Improved cleanup of atom-backed strings during destruction.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5368854374 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22689). Originally posted by [RiverWhy](https://github.com/RiverWhy) on 2026-11-18T02:38:32Z. --- ### What Stacked on #22678 (its two commits come first): it reuses the shortest-double formatter that #22678 adds to `WtfNumberFormat.cpp`. Implements 54 11.x Inspector frontend dispatcher events, every event export still throwing on `main` except the two `ConsoleMessage` ones and the 3.20 `Heap.trackingStart`. By domain: DOM 13, Page 6, Canvas 5, Animation 4, Debugger 4, Network 4, CSS 3, Target 3, Timeline 3, Worker 3, ApplicationCache 2, Heap 2, Inspector 1, LayerTree 1 and ScriptProfiler 1. Each event builds `{"method":"Domain.event","params":{...}}` and passes it to the existing `FrontendRouter::sendEvent`, as the 11.x generated `InspectorFrontendDispatchers.cpp` does. The parameters are strings, integers, doubles, booleans and two enums (`DOM.CustomElementState` and `Recording.Initiator`). Source: the pinned [protocol](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/JavaScriptCore/inspector/protocol) as expanded by the [frontend dispatcher generator](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/JavaScriptCore/inspector/scripts/codegen/generate_cpp_frontend_dispatcher_implementation.py), plus the JSON writer in [JSONValues.cpp](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WTF/wtf/JSONValues.cpp) and [StringBuilderJSON.cpp](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WTF/wtf/text/StringBuilderJSON.cpp) (PS5 11.x). Details: - **Event shape.** Keys keep insertion order, with no spaces. An event without parameters has no `params` object. - **Strings** are escaped as `appendQuotedJSONString` does: `\b \t \n \f \r \" \\`, other characters below 0x20 as `\u00xx`, and unpaired surrogates as lowercase `\uxxxx`. Valid pairs are copied unchanged. A null `String` writes `""`. - **Numbers** (integers included) use WebKit's shortest double form, and NaN or infinity write `null`. - **Message bitness.** The message is 8-bit unless a 16-bit string argument made the builder upconvert, as WebKit's `StringBuilder` does. - **Enum values** are the indices into the generated `enum_constant_values` table: `CustomElementState` is 112–115 and `Initiator` is 222–224. That table has no `#if` entries, so its indices are the same in every port. - **Refusals.** An enum value outside its type throws `std::out_of_range`, where WebKit reads past the table. A null dispatcher or string pointer throws. Debt: a fragment, `docs/dev/debt/changes/feat-nkwebkit-inspector-frontend-events.md`, adds the entry and removes the 54 inventory rows. Overlap: `pr_overlap.py --names` finds no open PR with these exports. ### Tested Linux Mint 22.3. The pinned 11.x tree built as JSCOnly compiles the generated frontend dispatchers for every domain into `libJavaScriptCore.so`. A shared driver calls random events on both sides with: - null, 8-bit and 16-bit strings with quotes, backslashes, control characters, 0x7F–0xFF, valid and unpaired surrogates; - integers including `INT_MIN`/`INT_MAX`; - doubles including ±0, NaN, ±infinity, 1e21-scale, 1e-7-scale and random bit patterns; - booleans and every enum value. On one side it calls the real generated methods through a real `FrontendRouter` with a capturing `FrontendChannel`. On the other it calls these exports through `main`'s `FrontendRouter` and a fake channel. It hashes each captured message's bitness and characters. - New `nkwebkit_inspectorfrontendevents` test: 16 sequences of 1,000 events match. As a one-off, 200 sequences of 10,000 also matched. - Hand checks: - exact text for a parameterless event, escaping, a null string, numbers, `null` for infinity, and a 16-bit message with an unpaired surrogate; - enum range and null refusals, which send nothing. - Negative control: escaping 0x7F as `\u007f` fails the transcript check. - The full build succeeds, and all 133 NKWebKit tests pass. ### 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) 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: #22678 - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Added support for Web Inspector events across page, network, debugger, DOM, and other inspection areas, with event data serialized as JSON. * Added atom-string creation, lookup, conversion, and formatting support for WebKit. * **Bug Fixes** * Improved cleanup of atom-backed strings during destruction. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
PrivacyOnion commented 2026-11-18 02:40:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-18T02:40:06Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_inspectorfrontendevents_tests, nkwebkit_wtfatomstring_tests built cleanly.
  • CTest (nkwebkit_inspectorfrontendevents, nkwebkit_wtfatomstring):
    1/2 Test #4562: nkwebkit_wtfatomstring .............   Passed    0.01 sec
    2/2 Test #4492: nkwebkit_inspectorfrontendevents ...   Passed    0.03 sec
    100% tests passed, 0 tests failed out of 2
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp, core/libs/prx/libSceNKWebKit/src/WtfNumberFormat.cpp, core/libs/prx/libSceNKWebKit/src/WtfString.cpp, core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp, core/libs/prx/libSceNKWebKit/src/WtfTextAbi.hpp, core/libs/prx/libSceNKWebKit/src/InspectorFrontendEvents.cpp, core/libs/prx/libSceNKWebKit/src/WtfAtomString.cpp reverted to main and the new tests kept, the suite fails:
    1/2 Test #4562: nkwebkit_wtfatomstring .............Subprocess aborted***Exception:   0.13 sec
    2/2 Test #4492: nkwebkit_inspectorfrontendevents ...Subprocess aborted***Exception:   0.15 sec
    0% tests passed, 2 tests failed out of 2
    
    Restoring the change makes it pass again.
  • Code reading:
    • Verified FrontendRouter ABI dispatch and JSON payload serialization for all 54 Inspector frontend events against WebKit 11.x codegen specifications
    • Verified WtfAtomString ABI exports and memory management including StringImpl add/lookUp/destroy operations
    • Audited null-pointer checking, bounds validation, and error propagation across Inspector frontend dispatchers
    • Audited cross-platform portability between LP64 (Linux) and LLP64 (Windows) integer and size types
    • Confirmed compliance with AGENTS.md conventions, license notices, and absence of undocumented stubs

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5950031625 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22689#pullrequestreview-5950031625). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-18T02:40:06Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `eb117c5bb6`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_inspectorfrontendevents_tests`, `nkwebkit_wtfatomstring_tests` built cleanly. - **CTest** (`nkwebkit_inspectorfrontendevents`, `nkwebkit_wtfatomstring`): ``` 1/2 Test #4562: nkwebkit_wtfatomstring ............. Passed 0.01 sec 2/2 Test #4492: nkwebkit_inspectorfrontendevents ... Passed 0.03 sec 100% tests passed, 0 tests failed out of 2 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp`, `core/libs/prx/libSceNKWebKit/src/WtfNumberFormat.cpp`, `core/libs/prx/libSceNKWebKit/src/WtfString.cpp`, `core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp`, `core/libs/prx/libSceNKWebKit/src/WtfTextAbi.hpp`, `core/libs/prx/libSceNKWebKit/src/InspectorFrontendEvents.cpp`, `core/libs/prx/libSceNKWebKit/src/WtfAtomString.cpp` reverted to `main` and the new tests kept, the suite fails: ``` 1/2 Test #4562: nkwebkit_wtfatomstring .............Subprocess aborted***Exception: 0.13 sec 2/2 Test #4492: nkwebkit_inspectorfrontendevents ...Subprocess aborted***Exception: 0.15 sec 0% tests passed, 2 tests failed out of 2 ``` Restoring the change makes it pass again. - **Code reading**: - Verified FrontendRouter ABI dispatch and JSON payload serialization for all 54 Inspector frontend events against WebKit 11.x codegen specifications - Verified WtfAtomString ABI exports and memory management including StringImpl add/lookUp/destroy operations - Audited null-pointer checking, bounds validation, and error propagation across Inspector frontend dispatchers - Audited cross-platform portability between LP64 (Linux) and LLP64 (Windows) integer and size types - Confirmed compliance with AGENTS.md conventions, license notices, and absence of undocumented stubs Looks Good To Me
coderabbitai[bot] commented 2026-11-30 03:52:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-30T03:52:47Z.

Review: COMMENTED


Architecture findings (2)

Advisory architecture findings (2)

  • Minor — The new table-taking export checks that the caller's table is non-null but uses the executing thread's table instead. Final release also uses the executing thread's table, so releasing the last reference on another thread while the owner table is still live terminates the hosting process. Thread teardown clears the atom flag for surviving entries, which covers release after synchronized teardown, not release while the owner table is live. Production use of either unsupported pattern is unverified.
  • Minor — Both new insertion paths set the atom flag before inserting into the allocating table. If insertion throws, no rollback clears the flag. A newly created atom can terminate the process during unwinding, while a caller-owned string can remain marked as an atom and terminate on later final release. The stubbed base did not enter this partial state.
Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e1bd3c2a-34c3-4d77-bc5f-14153c6a1805
Commits

Reviewing files that changed from the base of the PR and between aecfbf79b1 and 553fb122c8.

Files selected for processing: 14

  • core/libs/prx/libSceNKWebKit/CMakeLists.txt
  • core/libs/prx/libSceNKWebKit/Export.cpp
  • core/libs/prx/libSceNKWebKit/include/InspectorFrontendEventExports.hpp
  • core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
  • core/libs/prx/libSceNKWebKit/include/WtfAtomStringExports.hpp
  • core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp
  • core/libs/prx/libSceNKWebKit/src/InspectorFrontendEvents.cpp
  • core/libs/prx/libSceNKWebKit/src/WtfAtomString.cpp
  • core/libs/prx/libSceNKWebKit/src/WtfString.cpp
  • core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp
  • core/libs/prx/libSceNKWebKit/tests/InspectorFrontendEvents.cpp
  • core/libs/prx/libSceNKWebKit/tests/WtfAtomString.cpp
  • docs/dev/debt/changes/feat-nkwebkit-atom-string-table.md
  • docs/dev/debt/changes/feat-nkwebkit-inspector-frontend-events.md
Files with no reviewable changes: 2

  • core/libs/prx/libSceNKWebKit/Export.cpp
  • core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6106682383 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22689#pullrequestreview-6106682383). Originally posted by [coderabbitai[bot]](https://github.com/apps/coderabbitai) on 2026-11-30T03:52:47Z. **Review:** COMMENTED --- <!-- coderabbit-ai-generated:v1 --> **Architecture findings (2)** <details> <summary>Advisory architecture findings (2)</summary> <dl> <dd> <br> - **Minor** — The new table-taking export checks that the caller's table is non-null but uses the executing thread's table instead. Final release also uses the executing thread's table, so releasing the last reference on another thread while the owner table is still live terminates the hosting process. Thread teardown clears the atom flag for surviving entries, which covers release after synchronized teardown, not release while the owner table is live. Production use of either unsupported pattern is unverified. - **Minor** — Both new insertion paths set the atom flag before inserting into the allocating table. If insertion throws, no rollback clears the flag. A newly created atom can terminate the process during unwinding, while a caller-owned string can remain marked as an atom and terminate on later final release. The stubbed base did not enter this partial state. </dd> </dl> </details> <h6> <details> <summary><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Review info</summary> <dl> <dd> <br> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</summary> <dl> <dd> <br> - **Source mode**: Auto - **Repository**: Unavailable - **Branch**: Unavailable - **File**: No configuration file from this repository applied - **Commit**: Unavailable - **Layers**: defaults - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `e1bd3c2a-34c3-4d77-bc5f-14153c6a1805` </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</summary> <dl> <dd> <br> Reviewing files that changed from the base of the PR and between aecfbf79b16f30381fbba00a60ac33c817611f08 and 553fb122c8cdbfdf92bb4f2b90f6d7586da7c723. </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 14</summary> <dl> <dd> <br> * `core/libs/prx/libSceNKWebKit/CMakeLists.txt` * `core/libs/prx/libSceNKWebKit/Export.cpp` * `core/libs/prx/libSceNKWebKit/include/InspectorFrontendEventExports.hpp` * `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp` * `core/libs/prx/libSceNKWebKit/include/WtfAtomStringExports.hpp` * `core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp` * `core/libs/prx/libSceNKWebKit/src/InspectorFrontendEvents.cpp` * `core/libs/prx/libSceNKWebKit/src/WtfAtomString.cpp` * `core/libs/prx/libSceNKWebKit/src/WtfString.cpp` * `core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp` * `core/libs/prx/libSceNKWebKit/tests/InspectorFrontendEvents.cpp` * `core/libs/prx/libSceNKWebKit/tests/WtfAtomString.cpp` * `docs/dev/debt/changes/feat-nkwebkit-atom-string-table.md` * `docs/dev/debt/changes/feat-nkwebkit-inspector-frontend-events.md` </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files with no reviewable changes: 2</summary> <dl> <dd> <br> * core/libs/prx/libSceNKWebKit/Export.cpp * core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review. </dd> </dl> </details> </h6> <!-- This is an auto-generated comment by CodeRabbit for review status --> <!-- coderabbit-review-publication v1 publication=93767dd7-2162-41f8-9474-bd37646bb198 attempt=79c99b6c-c850-4089-b7f1-a460c32c890e batch=1/1 -->
MarcZX10 commented 2026-11-30 13:10:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T13:10:47Z.

Review: COMMENTED


Reviewed — no blocking findings

The inspected implementation matches the stated event serialization and atom string goals; this review is incomplete because several changed files and runtime checks were not verified.

What I ran

Reviewed head 553fb122c8cdbfdf92bb4f2b90f6d7586da7c723 using repo_read.py to inspect the prepared review packet and selected files at the pinned head. No build or tests were run.

Results

Check Result Note
Patch inspection passed Prepared diff inspected
Build and tests not run Author-reported results only
Full file review not run Some changed files were not read

Findings

Blocking

None identified in the inspected code.

Non-blocking

None.

Not verified

Export.cpp, the full InventoryExports.hpp, the full test files, and the debt documentation were not fully reviewed. The implementation was not built or tested during this review. The reported Linux Mint build, randomized transcript comparisons, and 133 passing tests are author-reported, not independently verified.

Files read at the pinned head: CMakeLists.txt, InspectorFrontendEventExports.hpp, WtfAtomStringExports.hpp, libSceNKWebKit.hpp, InspectorFrontendEvents.cpp, WtfAtomString.cpp, WtfString.cpp, tests/InspectorFrontendEvents.cpp, and tests/WtfAtomString.cpp (selected ranges). Also inspected InventoryExports.hpp (lines 1–5). The prepared description.md, commits.md, manifest.json, and selected ranges of diff.patch were read. Other changed lines and file contents remain unverified.

To get this to a good state

Nothing is required. Optional: complete the review of the unverified changed files and run the build and tests on this head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6112747448 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22689#pullrequestreview-6112747448). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-30T13:10:47Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The inspected implementation matches the stated event serialization and atom string goals; this review is incomplete because several changed files and runtime checks were not verified. ## What I ran Reviewed head `553fb122c8cdbfdf92bb4f2b90f6d7586da7c723` using `repo_read.py` to inspect the prepared review packet and selected files at the pinned head. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Patch inspection | passed | Prepared diff inspected | | Build and tests | not run | Author-reported results only | | Full file review | not run | Some changed files were not read | ## Findings ### Blocking None identified in the inspected code. ### Non-blocking None. ## Not verified `Export.cpp`, the full `InventoryExports.hpp`, the full test files, and the debt documentation were not fully reviewed. The implementation was not built or tested during this review. The reported Linux Mint build, randomized transcript comparisons, and 133 passing tests are author-reported, not independently verified. Files read at the pinned head: `CMakeLists.txt`, `InspectorFrontendEventExports.hpp`, `WtfAtomStringExports.hpp`, `libSceNKWebKit.hpp`, `InspectorFrontendEvents.cpp`, `WtfAtomString.cpp`, `WtfString.cpp`, `tests/InspectorFrontendEvents.cpp`, and `tests/WtfAtomString.cpp` (selected ranges). Also inspected `InventoryExports.hpp` (lines 1–5). The prepared `description.md`, `commits.md`, `manifest.json`, and selected ranges of `diff.patch` were read. Other changed lines and file contents remain unverified. ## To get this to a good state Nothing is required. Optional: complete the review of the unverified changed files and run the build and tests on this head.
ligmaSec commented 2026-12-03 12:52:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T12:52:43Z.

Review: COMMENTED


Built the branch’s changed sources and ran InspectorFrontendEvents and WtfAtomString on Linux against the existing runtime libraries. The test run passed and covered the Inspector event payloads and the existing atom-string checks.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6170177301 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22689#pullrequestreview-6170177301). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T12:52:43Z. **Review:** COMMENTED --- Built the branch’s changed sources and ran InspectorFrontendEvents and WtfAtomString on Linux against the existing runtime libraries. The test run passed and covered the Inspector event payloads and the existing atom-string checks. AI-assisted: yes.

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