feat(libSceNKWebKit): implement WebCore::ResourceRequestBase scalar, URL and method accessors #15214
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15214"
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-02T20:55:46Z.
What
Implements 19
WebCore::ResourceRequestBaseexports inlibSceNKWebKit:url,setURL,isNull,isEmpty,firstPartyForCookies,setFirstPartyForCookies,httpMethod,setHTTPMethod,timeoutInterval,cachePolicy,setCachePolicy,priority,setPriority,isSameSite,setIsSameSite,isTopSite,setIsTopSite,defaultTimeoutIntervalandsetDefaultTimeoutInterval.They follow
Source/WebCore/platform/network/ResourceRequestBase.hand.cppandHTTPHeaderMap.hof the PS5 11.x WebKit snapshot neonmodder123/PS5-WebKit-11.x at 80f77e9, the snapshot #13992 uses. The object layout comes from those sources and is not verified against the console module. Whenm_resourceRequestUpdatedis false they throw, since the PS5 backend ofdoUpdateResourceRequestis unknown. The 33 exports that needHTTPHeaderMap,Vector<String>,FormDataor a copy of the request stay stubs. The debt file records all of this.Tested
Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release:
nkwebkit_resourcerequestpasses (reference counts, URL and String copies, flag and enum round trips). 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 MarcZX10 on 2026-11-02T21:01:55Z.
Review: COMMENTED
Reviewed — no blocking findings
The 19 accessors match the pinned WebKit implementation at source level, but the guest object layout is unverified against the PS5 module and the hosted checks are still queued, so I am withholding approval.
What I ran
Reviewed exact head
f5fb0f4dc2d4349d43093006e60acc7f50a420a3against base9090972b7e91fd266819cbd77a8b058e177b5682; the repository precheck reports that head and base stayed unchanged and the merge preview against currentmainwas clean. Environment: Debian 12 x86_64, Linux 6.1.0-54-amd64, Python 3.11.2, Git 2.39.5, GCC 12.2.0. No local C++ build or CTest was run.Results
tests/*.cppand registers each test.Command output and precheck details
git diff --checkproduced no output and exited 0.Conventions output (unedited):
Precheck helper errors (unedited):
ABI audit result excerpt (unedited JSON fields):
Test-quality output (unedited):
Hosted CI snapshot at final refresh (all checks matched the reviewed head):
Negative control
Findings
Blocking
None found in the source files reviewed.
Non-blocking
Sources
Not verified
No local build, CTest, negative control, Linux hosted build, title run, console behavior or PS5-module layout comparison was performed. The six current hosted checks had not started at final refresh.
To get this to a good state
No source change is requested. I will recheck the six hosted results and rerun the same no-build commands if the head changes.