feat(libSceNKWebKit): implement WebCore::ContentType #15260
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15260"
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 simnJS on 2026-11-02T22:34:30Z.
What
Implements the seven
WebCore::ContentTypeexports inlibSceNKWebKit:codecsParameter, the constructors from aStringby move and by copy,containerTypeandparameter, including thenotFoundarithmetic of the parser.They follow
Source/WebCore/platform/ContentType.hand.cppof the PS5 11.x WebKit snapshot neonmodder123/PS5-WebKit-11.x at 80f77e9, the snapshot #13992 uses. The source file keeps its copyright notice. The object layout comes from those sources and is not verified against the console module; the debt file records it.Tested
Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release:
nkwebkit_contenttypepasses (container type and parameters, codecs, missing and malformed parameters). Only this test was run, not the full suite. Not run on Linux or on a title.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 ahmadmuj on 2026-11-06T07:19:03Z.
Review: APPROVED
Checked head
3d7d6e6634b037b6ec542a3b70a1a3f5d549b01d, PR baseea07ec82d37ad10c191b35e766107961cd058cbc. Local Linux integration usesea443a1546ca04f66d15ebf17b0fd4d98d75f7e6, with only the debt paragraph resolved. ContentType code and its existing test remain byte-identical to this head. The branch still needs its own conflict resolution.The module build and
nkwebkit_contenttypepass. A separate probe links the actual module and passes 356,028 value and ownership checks. Its independent oracle follows the pinned WebKit source and its String operations. It compares exact nullness, lengths and code units across byte/UTF-16 inputs and names, including NULs, whitespace, suffix matches and malformed delimiters. Copy/move aliases and codecsParameter also pass. Quote and case oracle controls produce 11,360 and 15,576 mismatches, respectively.No issue found in this scope. This checks public-source behavior; console ABI and title compatibility remain unverified.