feat(libSceNKWebKit): implement media sample flags and JSON #22937
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/22937"
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 davidreuveni on 2026-11-18T13:57:59Z.
What
Implement
WebCore::MediaSample::hasAlpha,isNonDisplaying,isSync,toJSONString, andWTF::MediaTime::toJSONStringfrom Sony’s published PS5 11.00–11.60 WebKit source. Preserve the upstream license notices and document the unverified console ABI. Sony’s WebKit source archivePR #21957 covers separate exports and edits the same technical-debt entry. If both PRs are selected for a combined build, their debt fragments need to be reconciled before folding.
Tested
Linux x86-64 with GCC 14.2. Built the patched
libSceNKWebKit.prxand verified all five NIDs. The NKWebKit suite and public-header audit passed 137 checks before rebasing. All five focused checks and the conventions check passed on the submitted commit. Behavioral tests cover flag bits, JSON field order, timestamp variants, non-finite values, and missing callbacks. Console testing remains pending.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-18T14:04:13Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
014c842301:tools/check_conventions.pyfailed.nkwebkit_mediasample_testsbuilt cleanly.nkwebkit_mediasample):Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T08:15:58Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the console ABI and execution remain unverified as documented.
What I ran
Reviewed head
014c8423010e4980e97b4c3736e0c7f07a36aa78using the prepared diff andrepo_read.pyfor targeted source and build context. No build or tests were run. The author reports Linux x86-64 testing and focused checks in the PR description; those results were not independently verified.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
Export.cppandInventoryExports.hppwere excluded from the review bundle because of size; their relevant diff hunks were inspected, but their complete contents were not read.Export.cpp(relevant range),InventoryExports.hpp(relevant range),LegacyExports.hpp,MediaExports.hpp,MediaSample.cpp,WtfNumberFormat.cpp,WtfTextAbi.hpp,tests/MediaSample.cpp, anddocs/dev/debt/changes/feat-nkwebkit-media-sample-json.md.files.jsonwas not available by that name; the prepared manifest and file listing were used to identify exclusions.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T12:52:41Z.
Review: COMMENTED
Built the branch’s changed sources and ran MediaSample on Linux against the existing runtime libraries. The test run passed and covered the media-sample flags and JSON output cases.
AI-assisted: yes.
Pull request closed