feat(nkwebkit): implement five empty resource callbacks #17352
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17352"
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 B-Howell on 2026-11-08T18:30:30Z.
What
Implements five existing
EmptyFrameLoaderClientcallbacks as emptyvoidfunctions:prefetchDNS,startDownload,makeRepresentation,dispatchDidFailLoad, andconvertMainResourceLoadToDownload. The pinned WebKit 11.x source defines these callbacks as empty. The total export count is unchanged. Physical console ABI remains unverified. This batch covers a separate set of exports from #17328. If either PR lands first, I will refresh the other branch to preserve both sets of callbacks and tests.tools/progress.pymeasures +5 on base52dfa45e. libSceNKWebKit moves from 2,118/10,982 to 2,123/10,982. Repository progress moves from 12,488/37,872 to 12,493/37,872.Tested
The Windows test-only control on the original base reached the named
prefetchDNSthrow (CTest exit 8). The original candidate passednkwebkit_base3/3 and public headers 65/65 on Windows and WSL.Exact
d3546f82063de4e458d5d80e0b5caa2258d7439bpassednkwebkit_base3/3 and public headers 65/65 on Windows (WinLibs GCC 15.2.0 r7) and Ubuntu WSL (GCC 11.4).WSL Ubuntu with GCC 11.4. Exact
e8cb3a7772b94d3596b508686fc57a96e883d32a, an ordinary merge ofmainatf89525511104d5ef691f703cedd8616f692f6df4that keeps both these five callbacks and the ten from #17328, passednkwebkit_baseandnkwebkit_forwarding3/3 each. Conventions passed.Exact
93675cfee898e205caada37fdeddb6f4c74ab606is an ordinary merge ofmainat145e689adab572c44a99369516565d28e85f6c12. Only the debt count line conflicted; it is recounted from the merged tree (5950). No source conflict, so not rebuilt. Conventions passed.On
660fd303ff65e0f94a0d0a7f9f1d871603d3d5f2, an ordinary merge ofmainatc65eb462147181941a64eaf6179876e81ae8a118after #16937, conventions passed; doc-only conflict on the count line; count is main's stated 5967 minus this change's 5 removed stubs (5962). Not rebuilt.On
266afe5b2af119edb626975874a2cbea3ca1b0e1, an ordinary merge ofmainat6cc25635cf62042b693c8e2e4ff12ec8a47abb70after #18533, conventions passed; doc-only conflict on the count line; count is main's stated 5965 minus this change's 5 removed inventory declarations (5960). Not rebuilt.On
fed72aa36dae2070255da4e8c70c518b6638625c, an ordinary merge ofmainat993ad4ed86a15cbbb31cbd9fa9e512ee2c1b7c9fafter #18094, conventions passed; doc-only conflict on the count line; count is main's stated 5962 minus this change's 5 removed inventory declarations (5957). #18094's test registration intests/Base.cppmain()auto-merged next to ours, so WSL Ubuntu with GCC 11.4.0 rebuiltnkwebkit_base_tests, andnkwebkit_basepassed 1/1.On
1aeecb36e674fe1d0eff3d40c798c897cdd79748, an ordinary merge ofmainatc89d400b6a91after #18224 and #18804, conventions passed; doc-only conflict on the count line; count is main's stated 5961 minus this change's 5 removed inventory declarations (5956). Their code is 3,900+ lines from ours inExport.cppand does not touchtests/Base.cpp; not rebuilt.On
cb884d2a121f570e44a76e5530210d231613f181, an ordinary merge ofmainat1d1fb4f1e1762b07fe309d1afd13cdbbd58b0f44after #18415, conventions passed; doc-only conflict on the count line and the Functional list (kept both entries); count is main's stated 5950 minus this change's 5 removed inventory declarations (5945). Main's code is 2,800+ lines from ours inExport.cppandInventoryExports.hppand 130+ lines from ours intests/Base.cpp; not rebuilt.On
54c1fe022c6, an ordinary merge ofmainat82160bba912after #18538, conventions passed; doc-only conflict on the count line; count is main's stated 5949 minus this change's 5 removed stubs (5944). Main's code changes since the last merge are over 1,000 lines from this PR's hunks, so the earlier test results stand.On
0c110a82670, an ordinary merge ofmainat999d6f8ffd6, conventions passed; the previous head carried two count lines (5944 and 5940) from union merges, now one line at main's stated 5939 minus this change's 5 removed stubs (5934). Main's code changes are 7,000+ lines from this PR's hunks, so not rebuilt.On
ea00996a827: merged main after #19603; count line removed. Ordinary merge ofmainat9b22c40f49a, conventions passed. The debt diff against main is now only this PR's entry and its 5 removed table rows. No code conflict and main changed none of this PR's other files, so not rebuilt.Checklist
Based on current
main; no other open PR implements the same functionsOne 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 fileNo notes, investigation
.mdfiles 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
Prepared with Codex.
Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-08T18:50:20Z.
Review: COMMENTED
Read against the pinned WebKit source (
PS5-WebKit-11.x80f77e94,Source/WebCore/loader/EmptyClients.cpp). I didn't build this branch.makeRepresentation637-639,convertMainResourceLoadToDownload666-668,dispatchDidFailLoad786-788,startDownload839-841 andprefetchDNS1084-1086. All five arevoid.dispatchDidFailLoading(DocumentLoader*, ResourceLoaderIdentifier, const ResourceError&)(725-727) is also empty upstream, but it's a different export, and it's not part of this PR.