feat(libSceNKWebKit): implement WebCore::DeprecatedGlobalSettings scrollbar, SSL and loader flag setters #19581

Merged
B-Howell merged 15 commits from upstream-pr/19581 into main 2026-11-17 23:53:13 +00:00
B-Howell commented 2026-11-13 15:16:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by B-Howell on 2026-11-13T15:16:05Z.


What

Implements eight WebCore::DeprecatedGlobalSettings exports in libSceNKWebKit that threw through NotImplemented_nid_no_patch:

  • setMockScrollbarsEnabled(bool) and the mockScrollbarsEnabled() getter
  • setUsesOverlayScrollbars(bool)
  • setUsesMockScrollAnimator(bool)
  • setShouldRespectPriorityInCSSAttributeSetters(bool)
  • setLowPowerVideoAudioBufferSizeEnabled(bool)
  • setResourceLoadStatisticsEnabled(bool)
  • setAllowsAnySSLCertificate(bool)

These are static functions that store process-wide flags. Each flag starts false. The pinned PS5-WebKit DeprecatedGlobalSettings.cpp writes them to a NeverDestroyed singleton, for example shared().m_mockScrollbarsEnabled = flag;. Its header gives the defaults as { false }. WebKit c55364d53f97, which the debt file already cites, has the out-of-line forms of the five older exports, such as gMockScrollAnimatorEnabled = flag;. In both revisions the setters have no other side effects. There is no object layout, because these are static functions.

The state lives in src/DeprecatedGlobalSettings.cpp. The header declarations change from int() to the real void(bool) and bool() signatures. Three of the eight are inventory declarations, so their debt rows are removed. The debt file also says that no other export reads these flags yet.

tools/progress.py: libraries done 15692 -> 15700 (+8). libSceNKWebKit goes from 2997 to 3005.

Tested

Ubuntu (WSL2) with Clang. nkwebkit_deprecatedglobalsettings checks the defaults and checks each setter with true and false. It also confirms that each setter changes only its own flag, and that only setMockScrollbarsEnabled changes the mockScrollbarsEnabled() result.

  • Red control (the same test, with the exports throwing as on main): nkwebkit_deprecatedglobalsettings ...Subprocess aborted, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv not implemented
  • This PR: ctest -R '^nkwebkit_deprecatedglobalsettings$' --repeat until-fail:3: Passed 3/3
  • ctest -R '^public_headers': 100% tests passed, 0 tests failed out of 65
  • On 5cda7b944f1, an ordinary merge of main at 999d6f8ffd6, conventions passed; doc-only union merge of the count line; count is main's stated 5939 minus this change's 3 removed stubs (5936). Main's code changes are 7,000+ lines from this PR's hunks, so not rebuilt.
  • On e10ae3c4824 (licence notices only, comment lines): python3 tools/check_conventions.py --base origin/main passed; the notice blocks match PS5-WebKit-11.x 80f77e94c6 DeprecatedGlobalSettings.cpp/.h and WebKit c55364d53f97 DeprecatedGlobalSettings.cpp byte for byte. No code changed, so not rebuilt.
  • On e7cbea45493: merged main after #19603; count line removed. Ordinary merge of main at 9b22c40f49a, conventions passed. The debt diff against main is now only this PR's entry and its 3 removed table rows. No code conflict and main changed none of this PR's other files, so not rebuilt.
  • 2026-11-14: comment-only commit f6f0dc8a33c rewrites each Derived from line as Derived from <path>@<40-character revision>, one line per source file (maintainer ruling, #19819 comment). No code changed, so no rebuild; tools/check_conventions.py --base origin/main passes and git diff --check is clean.
  • Main merge 5eb183de55d: Windows 11, WinLibs GCC 15.2, Release, all 18 of our main merges from this round built together on main 790e9a371cc: ctest -R nkwebkit 116/116 passed, patched_libraries passed once the #19822 fix was in. Re-merged onto b9fb5ab5a32 (no NKWebKit changes in between); check_conventions passed.
  • Debt fragment 9ef663ba97: merged main c3d38470e0c and moved this PR's debt edits into docs/dev/debt/changes/claude-nkwebkit-deprecated-global-settings.md; the debt files match main, and the fragment applied to main gives the same debt lines as the previous head. debt_fold.py --check and check_conventions.py --base origin/main pass. Documentation only, no build.
  • @ycbuzi, full ctest on Windows Server 2022 and 2025 (GitHub-hosted, WinLibs GCC 15.2.0), two runs each, 9ef663ba97 merged into main (report): Server 2025 had only main's guest_multibyte_locale; Server 2022 had main's 4 plus one single-run flake per run (guest_avplayer timing in run 1, guest_cpu_time_clocks in run 2, which also fails on other PRs in the same batch), neither touched by this change.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5298008487 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581). Originally posted by [B-Howell](https://github.com/B-Howell) on 2026-11-13T15:16:05Z. --- ### What Implements eight `WebCore::DeprecatedGlobalSettings` exports in libSceNKWebKit that threw through `NotImplemented_nid_no_patch`: - `setMockScrollbarsEnabled(bool)` and the `mockScrollbarsEnabled()` getter - `setUsesOverlayScrollbars(bool)` - `setUsesMockScrollAnimator(bool)` - `setShouldRespectPriorityInCSSAttributeSetters(bool)` - `setLowPowerVideoAudioBufferSizeEnabled(bool)` - `setResourceLoadStatisticsEnabled(bool)` - `setAllowsAnySSLCertificate(bool)` These are static functions that store process-wide flags. Each flag starts false. The pinned [PS5-WebKit `DeprecatedGlobalSettings.cpp`](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebCore/page/DeprecatedGlobalSettings.cpp#L125-L135) writes them to a `NeverDestroyed` singleton, for example `shared().m_mockScrollbarsEnabled = flag;`. Its header gives the defaults as `{ false }`. WebKit [`c55364d53f97`](https://github.com/WebKit/WebKit/blob/c55364d53f97/Source/WebCore/page/DeprecatedGlobalSettings.cpp#L44-L55), which the debt file already cites, has the out-of-line forms of the five older exports, such as `gMockScrollAnimatorEnabled = flag;`. In both revisions the setters have no other side effects. There is no object layout, because these are static functions. The state lives in `src/DeprecatedGlobalSettings.cpp`. The header declarations change from `int()` to the real `void(bool)` and `bool()` signatures. Three of the eight are inventory declarations, so their debt rows are removed. The debt file also says that no other export reads these flags yet. `tools/progress.py`: libraries done 15692 -> 15700 (+8). libSceNKWebKit goes from 2997 to 3005. ### Tested Ubuntu (WSL2) with Clang. `nkwebkit_deprecatedglobalsettings` checks the defaults and checks each setter with true and false. It also confirms that each setter changes only its own flag, and that only `setMockScrollbarsEnabled` changes the `mockScrollbarsEnabled()` result. - Red control (the same test, with the exports throwing as on `main`): `nkwebkit_deprecatedglobalsettings ...Subprocess aborted`, `_ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv not implemented` - This PR: `ctest -R '^nkwebkit_deprecatedglobalsettings$' --repeat until-fail:3`: Passed 3/3 - `ctest -R '^public_headers'`: 100% tests passed, 0 tests failed out of 65 - On `5cda7b944f1`, an ordinary merge of `main` at `999d6f8ffd6`, conventions passed; doc-only union merge of the count line; count is main's stated 5939 minus this change's 3 removed stubs (5936). Main's code changes are 7,000+ lines from this PR's hunks, so not rebuilt. - On `e10ae3c4824` (licence notices only, comment lines): `python3 tools/check_conventions.py --base origin/main` passed; the notice blocks match PS5-WebKit-11.x 80f77e94c6 DeprecatedGlobalSettings.cpp/.h and WebKit c55364d53f97 DeprecatedGlobalSettings.cpp byte for byte. No code changed, so not rebuilt. - On `e7cbea45493`: merged main after #19603; count line removed. Ordinary merge of `main` at `9b22c40f49a`, conventions passed. The debt diff against main is now only this PR's entry and its 3 removed table rows. No code conflict and main changed none of this PR's other files, so not rebuilt. - 2026-11-14: comment-only commit `f6f0dc8a33c` rewrites each `Derived from` line as `Derived from <path>@<40-character revision>`, one line per source file (maintainer ruling, [#19819 comment](https://github.com/boykopovar/AnyPS5/pull/19819#issuecomment-6868889186)). No code changed, so no rebuild; `tools/check_conventions.py --base origin/main` passes and `git diff --check` is clean. - Main merge `5eb183de55d`: Windows 11, WinLibs GCC 15.2, Release, all 18 of our main merges from this round built together on main `790e9a371cc`: `ctest -R nkwebkit` 116/116 passed, `patched_libraries` passed once the #19822 fix was in. Re-merged onto `b9fb5ab5a32` (no NKWebKit changes in between); `check_conventions` passed. - Debt fragment `9ef663ba97`: merged main `c3d38470e0c` and moved this PR's debt edits into `docs/dev/debt/changes/claude-nkwebkit-deprecated-global-settings.md`; the debt files match main, and the fragment applied to main gives the same debt lines as the previous head. `debt_fold.py --check` and `check_conventions.py --base origin/main` pass. Documentation only, no build. - @ycbuzi, full ctest on Windows Server 2022 and 2025 (GitHub-hosted, WinLibs GCC 15.2.0), two runs each, 9ef663ba97 merged into main ([report](https://github.com/boykopovar/AnyPS5/pull/19581#issuecomment-6914298642)): Server 2025 had only main's `guest_multibyte_locale`; Server 2022 had main's 4 plus one single-run flake per run (`guest_avplayer` timing in run 1, `guest_cpu_time_clocks` in run 2, which also fails on other PRs in the same batch), neither touched by this change. ### 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) - [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-13 17:48:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-13T17:48:07Z.

Review: CHANGES_REQUESTED


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

  • Conventions: tools/check_conventions.py passed; git diff --check reported whitespace errors.
  • Build: nkwebkit_deprecatedglobalsettings_tests built cleanly.
  • CTest (nkwebkit_deprecatedglobalsettings):
    1/1 Test #3872: nkwebkit_deprecatedglobalsettings ...   Passed    0.09 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp 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/DeprecatedGlobalSettings.cpp that all seven setters (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) and the getter (_ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv) correctly mutate and read boolean flags on the shared DeprecatedGlobalSettings instance.
    • Verified in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp that NKWebKit::DeprecatedGlobalSettings initializes all seven member flags (mockScrollbarsEnabled, usesOverlayScrollbars, mockScrollAnimatorEnabled, shouldRespectPriorityInCSSAttributeSetters, lowPowerVideoAudioBufferSizeEnabled, resourceLoadStatisticsEnabled, allowsAnySSLCertificate) to false by default, conforming to WebKit and PS5-WebKit specifications.
    • Verified in core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and LegacyExports.hpp that function signatures are properly updated from stub int() signatures to void(bool) and bool(), matching Itanium ABI symbol manglings and WebCore specifications.
    • Verified in core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp that unit tests exhaustively validate initial default-false states, toggle true and false for every setter, check flag orthogonality across all fields, and verify that mockScrollbarsEnabled() accurately reflects mockScrollbarsEnabled changes without leaving dirty state.
    • Verified in docs/dev/debt/libSceNKWebKit.md and core/libs/prx/libSceNKWebKit/Export.cpp that all 8 implemented stubs were removed from Export.cpp, the 3 inventory stubs were removed from the debt table, the unimplemented count was accurately decremented from 5939 to 5936, and the new technical debt entry was correctly documented without AGENTS.md rule violations.
  • Minor: please drop the Generated with footer from the description; the AI-assisted checkbox can stay.

Requesting changes for the points above.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5895608019 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581#pullrequestreview-5895608019). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-13T17:48:07Z. **Review:** CHANGES_REQUESTED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `e10ae3c482`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` reported whitespace errors. - **Build**: `nkwebkit_deprecatedglobalsettings_tests` built cleanly. - **CTest** (`nkwebkit_deprecatedglobalsettings`): ``` 1/1 Test #3872: nkwebkit_deprecatedglobalsettings ... Passed 0.09 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp` 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/DeprecatedGlobalSettings.cpp that all seven setters (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) and the getter (_ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv) correctly mutate and read boolean flags on the shared DeprecatedGlobalSettings instance. - Verified in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp that NKWebKit::DeprecatedGlobalSettings initializes all seven member flags (mockScrollbarsEnabled, usesOverlayScrollbars, mockScrollAnimatorEnabled, shouldRespectPriorityInCSSAttributeSetters, lowPowerVideoAudioBufferSizeEnabled, resourceLoadStatisticsEnabled, allowsAnySSLCertificate) to false by default, conforming to WebKit and PS5-WebKit specifications. - Verified in core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and LegacyExports.hpp that function signatures are properly updated from stub int() signatures to void(bool) and bool(), matching Itanium ABI symbol manglings and WebCore specifications. - Verified in core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp that unit tests exhaustively validate initial default-false states, toggle true and false for every setter, check flag orthogonality across all fields, and verify that mockScrollbarsEnabled() accurately reflects mockScrollbarsEnabled changes without leaving dirty state. - Verified in docs/dev/debt/libSceNKWebKit.md and core/libs/prx/libSceNKWebKit/Export.cpp that all 8 implemented stubs were removed from Export.cpp, the 3 inventory stubs were removed from the debt table, the unimplemented count was accurately decremented from 5939 to 5936, and the new technical debt entry was correctly documented without AGENTS.md rule violations. - Minor: please drop the `Generated with` footer from the description; the AI-assisted checkbox can stay. Requesting changes for the points above.
PrivacyOnion commented 2026-11-13 18:37:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-13T18:37:16Z.

Review: CHANGES_REQUESTED


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

  • Conventions: tools/check_conventions.py passed; git diff --check reported whitespace errors.
  • Build: nkwebkit_deprecatedglobalsettings_tests built cleanly.
  • CTest (nkwebkit_deprecatedglobalsettings):
    1/1 Test #3876: nkwebkit_deprecatedglobalsettings ...   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/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp 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/DeprecatedGlobalSettings.cpp that all seven setters (setMockScrollbarsEnabled, setUsesOverlayScrollbars, setUsesMockScrollAnimator, setShouldRespectPriorityInCSSAttributeSetters, setLowPowerVideoAudioBufferSizeEnabled, setResourceLoadStatisticsEnabled, setAllowsAnySSLCertificate) and the mockScrollbarsEnabled getter correctly mutate and access their respective singleton fields with false default values.
    • Verified in core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and LegacyExports.hpp that all export declarations are updated from placeholder int() signatures to void(bool) for setters and bool() for the getter with APS5_VABI calling conventions.
    • Verified in core/libs/prx/libSceNKWebKit/Export.cpp that all eight previous NotImplemented_nid_no_patch throwing stubs were removed without touching unrelated exports.
    • Verified that NKWebKit::SharedDeprecatedGlobalSettings() in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp uses a function-local static variable, guaranteeing C++11 thread-safe initialization with zero dynamic heap allocation or resource leaks.
    • Verified that core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp exercises default states, setter value changes with both true and false inputs, verifies cross-flag isolation, and restores all global flags to false upon completion.
    • Verified in docs/dev/debt/libSceNKWebKit.md that the three inventory export entries were removed from the unresolved symbols table and the new WebCore deprecated global settings debt entry correctly describes their process-wide flag semantics.
  • Minor: please drop the Generated with footer from the description; the AI-assisted checkbox can stay.

Requesting changes for the points above.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5896198199 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581#pullrequestreview-5896198199). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-13T18:37:16Z. **Review:** CHANGES_REQUESTED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `e7cbea4549`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` reported whitespace errors. - **Build**: `nkwebkit_deprecatedglobalsettings_tests` built cleanly. - **CTest** (`nkwebkit_deprecatedglobalsettings`): ``` 1/1 Test #3876: nkwebkit_deprecatedglobalsettings ... 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/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp` 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/DeprecatedGlobalSettings.cpp that all seven setters (setMockScrollbarsEnabled, setUsesOverlayScrollbars, setUsesMockScrollAnimator, setShouldRespectPriorityInCSSAttributeSetters, setLowPowerVideoAudioBufferSizeEnabled, setResourceLoadStatisticsEnabled, setAllowsAnySSLCertificate) and the mockScrollbarsEnabled getter correctly mutate and access their respective singleton fields with false default values. - Verified in core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and LegacyExports.hpp that all export declarations are updated from placeholder int() signatures to void(bool) for setters and bool() for the getter with APS5_VABI calling conventions. - Verified in core/libs/prx/libSceNKWebKit/Export.cpp that all eight previous NotImplemented_nid_no_patch throwing stubs were removed without touching unrelated exports. - Verified that NKWebKit::SharedDeprecatedGlobalSettings() in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp uses a function-local static variable, guaranteeing C++11 thread-safe initialization with zero dynamic heap allocation or resource leaks. - Verified that core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp exercises default states, setter value changes with both true and false inputs, verifies cross-flag isolation, and restores all global flags to false upon completion. - Verified in docs/dev/debt/libSceNKWebKit.md that the three inventory export entries were removed from the unresolved symbols table and the new WebCore deprecated global settings debt entry correctly describes their process-wide flag semantics. - Minor: please drop the `Generated with` footer from the description; the AI-assisted checkbox can stay. Requesting changes for the points above.
PrivacyOnion commented 2026-11-14 01:23:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-14T01:23:44Z.

Review: CHANGES_REQUESTED


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

  • Conventions: tools/check_conventions.py passed; git diff --check reported whitespace errors.
  • Build: nkwebkit_deprecatedglobalsettings_tests built cleanly.
  • CTest (nkwebkit_deprecatedglobalsettings):
    1/1 Test #3876: nkwebkit_deprecatedglobalsettings ...   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/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified that all eight WebCore::DeprecatedGlobalSettings exports implemented in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp correctly carry APS5_VABI and extern "C" linkage, matching their updated declarations in InventoryExports.hpp and LegacyExports.hpp.
    • Verified that struct NKWebKit::DeprecatedGlobalSettings in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp default-initializes all seven boolean flags (mockScrollbarsEnabled, usesOverlayScrollbars, mockScrollAnimatorEnabled, shouldRespectPriorityInCSSAttributeSetters, lowPowerVideoAudioBufferSizeEnabled, resourceLoadStatisticsEnabled, allowsAnySSLCertificate) to false, matching upstream WebCore specifications.
    • Verified that each setter function in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp mutates its corresponding struct field on NKWebKit::SharedDeprecatedGlobalSettings() without cross-talk or unintended side effects.
    • Verified AGENTS.md compliance: exactly three implemented inventory exports were removed from docs/dev/debt/libSceNKWebKit.md, an accurate technical debt note was added, and no prohibited comments were introduced in headers or implementation files.
    • Verified that core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp thoroughly exercises initial default false values, getter accuracy, independent true/false transitions across all flags, and leaves global state cleanly reset.
  • Note: the AI-assisted checkbox can stay.

Requesting changes for the points above.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5900386601 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581#pullrequestreview-5900386601). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-14T01:23:44Z. **Review:** CHANGES_REQUESTED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `f6f0dc8a33`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` reported whitespace errors. - **Build**: `nkwebkit_deprecatedglobalsettings_tests` built cleanly. - **CTest** (`nkwebkit_deprecatedglobalsettings`): ``` 1/1 Test #3876: nkwebkit_deprecatedglobalsettings ... 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/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified that all eight WebCore::DeprecatedGlobalSettings exports implemented in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp correctly carry APS5_VABI and extern "C" linkage, matching their updated declarations in InventoryExports.hpp and LegacyExports.hpp. - Verified that struct NKWebKit::DeprecatedGlobalSettings in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp default-initializes all seven boolean flags (mockScrollbarsEnabled, usesOverlayScrollbars, mockScrollAnimatorEnabled, shouldRespectPriorityInCSSAttributeSetters, lowPowerVideoAudioBufferSizeEnabled, resourceLoadStatisticsEnabled, allowsAnySSLCertificate) to false, matching upstream WebCore specifications. - Verified that each setter function in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp mutates its corresponding struct field on NKWebKit::SharedDeprecatedGlobalSettings() without cross-talk or unintended side effects. - Verified AGENTS.md compliance: exactly three implemented inventory exports were removed from docs/dev/debt/libSceNKWebKit.md, an accurate technical debt note was added, and no prohibited comments were introduced in headers or implementation files. - Verified that core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp thoroughly exercises initial default false values, getter accuracy, independent true/false transitions across all flags, and leaves global state cleanly reset. - Note: the AI-assisted checkbox can stay. Requesting changes for the points above.
PrivacyOnion commented 2026-11-14 05:00:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-14T05:00:18Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: nkwebkit_deprecatedglobalsettings_tests built cleanly.
  • CTest (nkwebkit_deprecatedglobalsettings):
    1/1 Test #3876: nkwebkit_deprecatedglobalsettings ...   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/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • core/libs/prx/libSceNKWebKit/Export.cpp, InventoryExports.hpp, and LegacyExports.hpp: Verified that all eight WebCore::DeprecatedGlobalSettings symbols (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, and _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) were removed from throwing stubs and correctly declared with exact void(bool) and bool() signatures using the APS5_VABI calling convention.
    • core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp and DeprecatedGlobalSettings.cpp: Verified that NKWebKit::SharedDeprecatedGlobalSettings() provides a thread-safe local static singleton where all seven boolean flags default to false, matching upstream WebKit/WebCore initialization.
    • core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp: Verified 1-to-1 mapping of each setter function to its corresponding member variable without accidental cross-field mutations, and confirmed that mockScrollbarsEnabledEv() reads SharedDeprecatedGlobalSettings().mockScrollbarsEnabled.
    • core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp: Verified test coverage exercises default initial states, true/false transitions for all setters, cross-flag isolation for every setting, getter behavior, and full restoration of global state back to NoFlagSet upon test termination.
    • docs/dev/debt/libSceNKWebKit.md: Confirmed that the three inventory exports (setMockScrollbarsEnabled, setUsesOverlayScrollbars, setAllowsAnySSLCertificate) were removed from the throwing callable exports table and that the new settings and current unread status are properly documented under WebCore deprecated global settings.
    • core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp and DeprecatedGlobalSettings.hpp: Verified AGENTS.md comment rules; confirmed no disallowed code comments exist, namespace terminations are properly annotated, and upstream license headers comply with the project's provenance requirements.
  • Note: the AI-assisted checkbox can stay.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5901781711 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581#pullrequestreview-5901781711). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-14T05:00:18Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `ea069688c5`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `nkwebkit_deprecatedglobalsettings_tests` built cleanly. - **CTest** (`nkwebkit_deprecatedglobalsettings`): ``` 1/1 Test #3876: nkwebkit_deprecatedglobalsettings ... 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/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - core/libs/prx/libSceNKWebKit/Export.cpp, InventoryExports.hpp, and LegacyExports.hpp: Verified that all eight WebCore::DeprecatedGlobalSettings symbols (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, and _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) were removed from throwing stubs and correctly declared with exact void(bool) and bool() signatures using the APS5_VABI calling convention. - core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp and DeprecatedGlobalSettings.cpp: Verified that NKWebKit::SharedDeprecatedGlobalSettings() provides a thread-safe local static singleton where all seven boolean flags default to false, matching upstream WebKit/WebCore initialization. - core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp: Verified 1-to-1 mapping of each setter function to its corresponding member variable without accidental cross-field mutations, and confirmed that mockScrollbarsEnabledEv() reads SharedDeprecatedGlobalSettings().mockScrollbarsEnabled. - core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp: Verified test coverage exercises default initial states, true/false transitions for all setters, cross-flag isolation for every setting, getter behavior, and full restoration of global state back to NoFlagSet upon test termination. - docs/dev/debt/libSceNKWebKit.md: Confirmed that the three inventory exports (setMockScrollbarsEnabled, setUsesOverlayScrollbars, setAllowsAnySSLCertificate) were removed from the throwing callable exports table and that the new settings and current unread status are properly documented under WebCore deprecated global settings. - core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp and DeprecatedGlobalSettings.hpp: Verified AGENTS.md comment rules; confirmed no disallowed code comments exist, namespace terminations are properly annotated, and upstream license headers comply with the project's provenance requirements. - Note: the AI-assisted checkbox can stay. Looks Good To Me
PrivacyOnion commented 2026-11-14 20:00:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-14T20:00:16Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: nkwebkit_deprecatedglobalsettings_tests built cleanly.
  • CTest (nkwebkit_deprecatedglobalsettings):
    1/1 Test #4017: nkwebkit_deprecatedglobalsettings ...   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/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp: Verified that all eight export implementations (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, and _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) map 1:1 to their corresponding boolean members in NKWebKit::SharedDeprecatedGlobalSettings().
    • core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp: Confirmed struct DeprecatedGlobalSettings default-initializes all seven boolean flags (mockScrollbarsEnabled, usesOverlayScrollbars, mockScrollAnimatorEnabled, shouldRespectPriorityInCSSAttributeSetters, lowPowerVideoAudioBufferSizeEnabled, resourceLoadStatisticsEnabled, allowsAnySSLCertificate) to false, conforming to upstream WebKit specification.
    • core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and LegacyExports.hpp: Confirmed function declarations were correctly updated from placeholder int() return types to void(bool flag) and bool() matching upstream WebCore signatures and APS5_VABI calling conventions.
    • core/libs/prx/libSceNKWebKit/Export.cpp: Confirmed all eight unimplemented throwing stubs were removed to avoid duplicate symbol definitions at link time.
    • core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp: Verified that test coverage exercises initial default states, isolated mutation of each flag, the mockScrollbarsEnabled getter, and confirms no state crosstalk or residual dirty state across test runs.
    • docs/dev/debt/libSceNKWebKit.md: Confirmed that the inventory table removed the three inventory exports, decremented the throwing export counter from 5952 to 5949, and added an accurate debt entry documenting that no other export currently reads these flags.
  • Note: the AI-assisted checkbox can stay.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5906831431 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581#pullrequestreview-5906831431). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-14T20:00:16Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `4e23509e46`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `nkwebkit_deprecatedglobalsettings_tests` built cleanly. - **CTest** (`nkwebkit_deprecatedglobalsettings`): ``` 1/1 Test #4017: nkwebkit_deprecatedglobalsettings ... 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/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp: Verified that all eight export implementations (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, and _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) map 1:1 to their corresponding boolean members in NKWebKit::SharedDeprecatedGlobalSettings(). - core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp: Confirmed struct DeprecatedGlobalSettings default-initializes all seven boolean flags (mockScrollbarsEnabled, usesOverlayScrollbars, mockScrollAnimatorEnabled, shouldRespectPriorityInCSSAttributeSetters, lowPowerVideoAudioBufferSizeEnabled, resourceLoadStatisticsEnabled, allowsAnySSLCertificate) to false, conforming to upstream WebKit specification. - core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and LegacyExports.hpp: Confirmed function declarations were correctly updated from placeholder int() return types to void(bool flag) and bool() matching upstream WebCore signatures and APS5_VABI calling conventions. - core/libs/prx/libSceNKWebKit/Export.cpp: Confirmed all eight unimplemented throwing stubs were removed to avoid duplicate symbol definitions at link time. - core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp: Verified that test coverage exercises initial default states, isolated mutation of each flag, the mockScrollbarsEnabled getter, and confirms no state crosstalk or residual dirty state across test runs. - docs/dev/debt/libSceNKWebKit.md: Confirmed that the inventory table removed the three inventory exports, decremented the throwing export counter from 5952 to 5949, and added an accurate debt entry documenting that no other export currently reads these flags. - Note: the AI-assisted checkbox can stay. Looks Good To Me
PrivacyOnion commented 2026-11-14 23:44:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-14T23:44:19Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: nkwebkit_deprecatedglobalsettings_tests built cleanly.
  • CTest (nkwebkit_deprecatedglobalsettings):
    1/1 Test #4029: nkwebkit_deprecatedglobalsettings ...   Passed    0.03 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified that all 8 exported functions in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) match their respective declarations in InventoryExports.hpp and LegacyExports.hpp with correct APS5_VABI calling conventions, bool parameter/return types, and C linkage.
    • Verified in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp and DeprecatedGlobalSettings.cpp that NKWebKit::SharedDeprecatedGlobalSettings() provides thread-safe static initialization without dynamic allocations, and that all seven struct fields (mockScrollbarsEnabled, usesOverlayScrollbars, mockScrollAnimatorEnabled, shouldRespectPriorityInCSSAttributeSetters, lowPowerVideoAudioBufferSizeEnabled, resourceLoadStatisticsEnabled, allowsAnySSLCertificate) default to false matching upstream WebKit specifications.
    • Verified that the removal of throwing stubs in core/libs/prx/libSceNKWebKit/Export.cpp and corresponding inventory table entries in docs/dev/debt/libSceNKWebKit.md correctly accounts for the 3 inventory exports (reducing throwing stubs count from 5939 to 5936) and 5 legacy exports without leaving orphan or duplicate symbol definitions.
    • Verified that core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp exhaustively asserts the initial default-false state via NoFlagSet, exercises true/false state transitions for each setter, validates flag isolation across all 7 fields, and verifies that mockScrollbarsEnabledEv() reflects only mockScrollbarsEnabled.
    • Verified compliance with AGENTS.md rules: zero forbidden inline code comments, verbatim upstream Apple copyright notices with pinned commit hashes adhering to the maintainer ruling, clean LP64/LLP64 portability using primitive bool types, and accurate technical debt documentation in docs/dev/debt/libSceNKWebKit.md.
  • Note: the AI-assisted checkbox can stay.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5907941054 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581#pullrequestreview-5907941054). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-14T23:44:19Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `9f95aacc0b`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `nkwebkit_deprecatedglobalsettings_tests` built cleanly. - **CTest** (`nkwebkit_deprecatedglobalsettings`): ``` 1/1 Test #4029: nkwebkit_deprecatedglobalsettings ... Passed 0.03 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified that all 8 exported functions in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) match their respective declarations in InventoryExports.hpp and LegacyExports.hpp with correct APS5_VABI calling conventions, bool parameter/return types, and C linkage. - Verified in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp and DeprecatedGlobalSettings.cpp that NKWebKit::SharedDeprecatedGlobalSettings() provides thread-safe static initialization without dynamic allocations, and that all seven struct fields (mockScrollbarsEnabled, usesOverlayScrollbars, mockScrollAnimatorEnabled, shouldRespectPriorityInCSSAttributeSetters, lowPowerVideoAudioBufferSizeEnabled, resourceLoadStatisticsEnabled, allowsAnySSLCertificate) default to false matching upstream WebKit specifications. - Verified that the removal of throwing stubs in core/libs/prx/libSceNKWebKit/Export.cpp and corresponding inventory table entries in docs/dev/debt/libSceNKWebKit.md correctly accounts for the 3 inventory exports (reducing throwing stubs count from 5939 to 5936) and 5 legacy exports without leaving orphan or duplicate symbol definitions. - Verified that core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp exhaustively asserts the initial default-false state via NoFlagSet, exercises true/false state transitions for each setter, validates flag isolation across all 7 fields, and verifies that mockScrollbarsEnabledEv() reflects only mockScrollbarsEnabled. - Verified compliance with AGENTS.md rules: zero forbidden inline code comments, verbatim upstream Apple copyright notices with pinned commit hashes adhering to the maintainer ruling, clean LP64/LLP64 portability using primitive bool types, and accurate technical debt documentation in docs/dev/debt/libSceNKWebKit.md. - Note: the AI-assisted checkbox can stay. Looks Good To Me
PrivacyOnion commented 2026-11-15 21:41:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-15T21:41:42Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: nkwebkit_deprecatedglobalsettings_tests built cleanly.
  • CTest (nkwebkit_deprecatedglobalsettings):
    1/1 Test #4203: nkwebkit_deprecatedglobalsettings ...   Passed    0.03 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified that all eight exports (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, and _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) are removed from Export.cpp and implemented in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp.
    • Checked header declarations in core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp for exact APS5_VABI calling convention, void(bool) setter signatures, and bool() getter signature matching their mangled C++ names.
    • Verified that NKWebKit::DeprecatedGlobalSettings in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp initializes all seven boolean fields to false, matching upstream PS5-WebKit DeprecatedGlobalSettings.h defaults.
    • Confirmed LP64 (Linux) and LLP64 (Windows) portability across all modified files, using only standard bool types with no platform-specific headers or narrowing conversions.
    • Verified compliance with AGENTS.md rules: upstream Apple BSD license headers with pinned commit hashes at the top of DeprecatedGlobalSettings.cpp and DeprecatedGlobalSettings.hpp, no inline code comments, and all mechanical gates and CTest suites passing.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5913068128 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581#pullrequestreview-5913068128). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-15T21:41:42Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `5eb183de55`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `nkwebkit_deprecatedglobalsettings_tests` built cleanly. - **CTest** (`nkwebkit_deprecatedglobalsettings`): ``` 1/1 Test #4203: nkwebkit_deprecatedglobalsettings ... Passed 0.03 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified that all eight exports (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, and _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) are removed from Export.cpp and implemented in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp. - Checked header declarations in core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp for exact APS5_VABI calling convention, void(bool) setter signatures, and bool() getter signature matching their mangled C++ names. - Verified that NKWebKit::DeprecatedGlobalSettings in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp initializes all seven boolean fields to false, matching upstream PS5-WebKit DeprecatedGlobalSettings.h defaults. - Confirmed LP64 (Linux) and LLP64 (Windows) portability across all modified files, using only standard bool types with no platform-specific headers or narrowing conversions. - Verified compliance with AGENTS.md rules: upstream Apple BSD license headers with pinned commit hashes at the top of DeprecatedGlobalSettings.cpp and DeprecatedGlobalSettings.hpp, no inline code comments, and all mechanical gates and CTest suites passing. Looks Good To Me
PrivacyOnion commented 2026-11-16 00:03:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-16T00:03:30Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed; git diff --check clean.
  • Build: nkwebkit_deprecatedglobalsettings_tests built cleanly.
  • CTest (nkwebkit_deprecatedglobalsettings):
    1/1 Test #4207: nkwebkit_deprecatedglobalsettings ...   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/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified that all eight WebCore::DeprecatedGlobalSettings exports (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, and _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) are removed from core/libs/prx/libSceNKWebKit/Export.cpp and implemented in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp.
    • Checked header declarations in core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp for exact APS5_VABI calling convention, void(bool) setter signatures, and bool() getter signature matching their mangled C++ names.
    • Verified that NKWebKit::DeprecatedGlobalSettings in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp initializes all seven boolean fields to false, matching upstream PS5-WebKit DeprecatedGlobalSettings.h defaults.
    • Confirmed LP64 (Linux) and LLP64 (Windows) portability across all modified files, using only standard bool types with no platform-specific headers or narrowing conversions.
    • Verified compliance with AGENTS.md rules: upstream Apple BSD license headers with pinned commit hashes at the top of DeprecatedGlobalSettings.cpp and DeprecatedGlobalSettings.hpp, technical debt changes migrated to docs/dev/debt/changes/claude-nkwebkit-deprecated-global-settings.md, no inline code comments, and all mechanical gates and CTest suites passing.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5913645525 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581#pullrequestreview-5913645525). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-16T00:03:30Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `9ef663ba97`: - **Conventions**: `tools/check_conventions.py` passed; `git diff --check` clean. - **Build**: `nkwebkit_deprecatedglobalsettings_tests` built cleanly. - **CTest** (`nkwebkit_deprecatedglobalsettings`): ``` 1/1 Test #4207: nkwebkit_deprecatedglobalsettings ... 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/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified that all eight WebCore::DeprecatedGlobalSettings exports (_ZN7WebCore24DeprecatedGlobalSettings24setMockScrollbarsEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings21mockScrollbarsEnabledEv, _ZN7WebCore24DeprecatedGlobalSettings24setUsesOverlayScrollbarsEb, _ZN7WebCore24DeprecatedGlobalSettings25setUsesMockScrollAnimatorEb, _ZN7WebCore24DeprecatedGlobalSettings45setShouldRespectPriorityInCSSAttributeSettersEb, _ZN7WebCore24DeprecatedGlobalSettings38setLowPowerVideoAudioBufferSizeEnabledEb, _ZN7WebCore24DeprecatedGlobalSettings32setResourceLoadStatisticsEnabledEb, and _ZN7WebCore24DeprecatedGlobalSettings26setAllowsAnySSLCertificateEb) are removed from core/libs/prx/libSceNKWebKit/Export.cpp and implemented in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp. - Checked header declarations in core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp and core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp for exact APS5_VABI calling convention, void(bool) setter signatures, and bool() getter signature matching their mangled C++ names. - Verified that NKWebKit::DeprecatedGlobalSettings in core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.hpp initializes all seven boolean fields to false, matching upstream PS5-WebKit DeprecatedGlobalSettings.h defaults. - Confirmed LP64 (Linux) and LLP64 (Windows) portability across all modified files, using only standard bool types with no platform-specific headers or narrowing conversions. - Verified compliance with AGENTS.md rules: upstream Apple BSD license headers with pinned commit hashes at the top of DeprecatedGlobalSettings.cpp and DeprecatedGlobalSettings.hpp, technical debt changes migrated to docs/dev/debt/changes/claude-nkwebkit-deprecated-global-settings.md, no inline code comments, and all mechanical gates and CTest suites passing. Looks Good To Me
PrivacyOnion commented 2026-11-17 22:41:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-17T22:41:34Z.

Review: APPROVED


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

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_deprecatedglobalsettings_tests built cleanly.
  • CTest (nkwebkit_deprecatedglobalsettings):
    1/1 Test #4468: nkwebkit_deprecatedglobalsettings ...   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/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp, core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified removal of all 8 DeprecatedGlobalSettings exports from core/libs/prx/libSceNKWebKit/Export.cpp and checked that their new signatures in InventoryExports.hpp and LegacyExports.hpp match their mangled Itanium C++ ABI signatures (void(bool) and bool())
    • Verified that NKWebKit::DeprecatedGlobalSettings in DeprecatedGlobalSettings.hpp zero-initializes all 7 boolean flags to false, adhering to WebCore upstream PS5-WebKit 11.x specifications
    • Verified that all setters and getters in DeprecatedGlobalSettings.cpp mutate and access the singleton instance correctly with standard C++ bool types, ensuring complete LP64 (Linux) and LLP64 (Windows) portability without narrowing conversions or platform-specific dependencies
    • Verified AGENTS.md compliance: verbatim upstream Apple BSD license header with pinned commit hash, no prohibited comments, and technical debt fragment correctly placed in docs/dev/debt/changes/claude-nkwebkit-deprecated-global-settings.md
    • Verified test coverage in core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp, confirming state isolation, individual setter/getter verification, and absence of cross-talk or lingering dirty state

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5947852274 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19581#pullrequestreview-5947852274). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-17T22:41:34Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `0084644a5f`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_deprecatedglobalsettings_tests` built cleanly. - **CTest** (`nkwebkit_deprecatedglobalsettings`): ``` 1/1 Test #4468: nkwebkit_deprecatedglobalsettings ... 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/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp`, `core/libs/prx/libSceNKWebKit/src/DeprecatedGlobalSettings.cpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified removal of all 8 DeprecatedGlobalSettings exports from core/libs/prx/libSceNKWebKit/Export.cpp and checked that their new signatures in InventoryExports.hpp and LegacyExports.hpp match their mangled Itanium C++ ABI signatures (void(bool) and bool()) - Verified that NKWebKit::DeprecatedGlobalSettings in DeprecatedGlobalSettings.hpp zero-initializes all 7 boolean flags to false, adhering to WebCore upstream PS5-WebKit 11.x specifications - Verified that all setters and getters in DeprecatedGlobalSettings.cpp mutate and access the singleton instance correctly with standard C++ bool types, ensuring complete LP64 (Linux) and LLP64 (Windows) portability without narrowing conversions or platform-specific dependencies - Verified AGENTS.md compliance: verbatim upstream Apple BSD license header with pinned commit hash, no prohibited comments, and technical debt fragment correctly placed in docs/dev/debt/changes/claude-nkwebkit-deprecated-global-settings.md - Verified test coverage in core/libs/prx/libSceNKWebKit/tests/DeprecatedGlobalSettings.cpp, confirming state isolation, individual setter/getter verification, and absence of cross-talk or lingering dirty state Looks Good To Me
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!19581
No description provided.