feat(libSceNKWebKit): implement DoNotTrack, LazyImageLoading and TabToLinks preference accessors #18224
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18224"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by heditrigui on 2026-11-10T22:03:48Z.
What
Implements 6 preference getter and setter functions in libSceNKWebKit:
Adds DoNotTrackEnabled with default alse to preferences definitions. LazyImageLoadingEnabled routes to the existing definition (default rue). TabToLinksEnabled delegates to TabsToLinks (default alse) ensuring full state synchronization between both naming variants.
Removes legacy placeholder throwing stubs from Export.cpp and include/LegacyExports.hpp.
Tested
Checklist
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-10T22:09:17Z.
Review: COMMENTED
Reviewed — looks good
The preference accessors and tests are consistent with the existing preference store; I found no blocking issue in this diff.
What I ran
Reviewed head
26cf2c87170d8dcab2e745a50fa0a187258a47d0against currentmainbase62c2f3cc57fc7489e13698baf320a87b9cfaa960; the merge preview was clean and the head and base stayed unchanged during the refreshed precheck.Environment: Linux 6.1, Python 3.11.2, GCC 12.2.0.
I read all five changed files and the full diff. I did not build or run C++ tests. Hosted CI was read as a status snapshot; the Windows build job was still pending.
Results
All conventions checks passed.main.CMakeLists.txtregisterstests/*.cppthrough aCONFIGURE_DEPENDSglob.Recorded outputs
Conventions stdout:
Dependency-check stdout:
Merge-preview report:
Test-quality heuristic warning:
I verified registration at
core/libs/prx/libSceNKWebKit/CMakeLists.txt:file(GLOB nkWebKitTests CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tests/*.cpp)includes the changed test file.Hosted snapshot: conventions, eligibility, intake, labels, library portability, and report passed; Windows was pending; Linux, relinker, relinker ASan, edge-watch, pipe-write, register-context, and write-watch were skipped.
Negative control
Not run. No implementation or test mutation was made for this review.
Findings
Blocking
None found.
Non-blocking
The Windows build-and-test job had not finished when I checked. This review comment is not an approval; the hosted result remains to be observed.
Sources
Not verified
To get this to a good state
No code change is requested. I’ll check the exact-head Windows result before changing this review to an approval.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-10T22:20:50Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
26cf2c8717:tools/check_conventions.pypassed;git diff --checkclean.libSceNKWebKit,nkwebkit_preferences_testsbuilt cleanly.nkwebkit_preferences):core/libs/prx/libSceNKWebKit/Export.cpp,core/libs/prx/libSceNKWebKit/include/LegacyExports.hpp,core/libs/prx/libSceNKWebKit/src/Preferences.cpp,core/libs/prx/libSceNKWebKit/src/Preferences.hppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me