feat(nkwebkit): implement dispatchDidReachLayoutMilestone #17550
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17550"
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 alvaroelpob on 2026-11-08T21:49:01Z.
What
Implement the WebCore::EmptyFrameLoaderClient::dispatchDidReachLayoutMilestone callback as the no-op defined by WebKit 11.x.
Tested
Linux:
suite.py feat/nkwebkit-layout-milestoneat2198b9c9a5: CTest 6573/6574 passed; guest_libressl_tls_engine_transport failed once and passed on rerun; conventions passed.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-16T23:40:37Z.
Review: COMMENTED
Reviewed — no blocking findings
The reviewed change adds the advertised no-op export; its console ABI remains unverified, so a formal approval is not justified.
What I ran
Reviewed head
241e83689624004a69f6adcb438d4f0cf11a6321. Inspected the prepared diff and changed code throughrepo_read.py; no build or tests were run. The description reports 4813/4813 CTest checks and conventions passing on Linux at4174e7d9d8, which I did not verify.Results
Findings
Blocking
None.
Non-blocking
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp:3295declares the callback asvoidwith a client pointer and 16-bit milestones, matching the new stub atcore/libs/prx/libSceNKWebKit/src/EmptyClients.cpp:60. The debt entry also says the console ABI is unverified. Confirm the target ABI when evidence is available.Not verified
The changed files read were
core/libs/prx/libSceNKWebKit/src/EmptyClients.cppandcore/libs/prx/libSceNKWebKit/include/InventoryExports.hpp.core/libs/prx/libSceNKWebKit/Export.cppanddocs/dev/debt/libSceNKWebKit.mdwere excluded from the review bundle as too large; targeted ranges inExport.cppand the diff were inspected. No build, tests, console execution, or ABI verification was performed.To get this to a good state
Nothing is required. Optional: verify the callback ABI against console evidence when available.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T15:29:37Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the review found no verified defect in the no-op callback implementation.
What I ran
Reviewed head
870794c4f8925b64490a9072c937297ac6f59421. No commands or tests were run; the description reports a Linux suite run at4174e7d9d8, which I did not independently verify.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The changed lines in
Export.cppanddocs/dev/debt/libSceNKWebKit.mdwere inspected through the diff context, not the full head files. The callback implementation inEmptyClients.cppand changed declaration inInventoryExports.hppwere read at the pinned head. The rest of those files, console ABI behavior, and the author's reported test run were not verified.repo_read.pywas not run; the available review reader tools supplied the targeted source context.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T06:44:15Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the implementation matches the described no-op, and the available code supports merging.
What I ran
Reviewed head
2198b9c9a51b4156809f09d58fb0d3adea98a688usingrepo_read.pyto inspect the prepared diff and targeted repository context. No tests or build commands were run by me. The author reports a Linux suite run with 6573/6574 CTest cases passing initially, one TLS test passing on rerun, and conventions passing.Read
description.md,commits.md,manifest.json,diff.patch,README.md,EmptyClients.cpp, the changed declaration inInventoryExports.hpp, and the surroundingExport.cpplines. Searched for callback references. The fullExport.cppandInventoryExports.hpptexts were excluded from the review folder; their relevant context and changed declaration were read through the reader.files.jsonwas not available as a review document;README.mdandmanifest.jsonidentify the included and excluded files.Results
Negative control
Not run; this review did not execute tests.
Findings
Blocking
None.
Non-blocking
None.
Sources
The changed declaration uses a
voidreturn, explicit client pointer, and 16-bit milestone argument; the matching implementation is an empty function. The diff also removes the previous throwing stub for this callback. See InventoryExports.hpp at the reviewed commit and EmptyClients.cpp at the reviewed commit.Not verified
I did not run the reported suite or independently confirm console ABI behavior. The full texts of
Export.cppandInventoryExports.hppwere excluded from the review folder; only the targetedExport.cppcontext and changedInventoryExports.hppdeclaration were read.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T16:54:23Z.
Review: COMMENTED
Current main already has the no-op layout milestone callback in
NoOpExports.cppand exercises it inEmptyExports.cpp. This head conflicts with main in the inventory declaration and the former throwing definition. The useful remaining question is whether the export should declare the explicit receiver and 16-bit milestone argument. If that distinction matters to callers, apply it to the existing implementation and test the typed call there.AI-assisted: yes.
Pull request closed