feat(libSceNKWebKit): implement the WTF time and literal dump methods #14947
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/14947"
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 w4rc0n on 2026-11-02T03:14:57Z.
What
Five WTF
dump(PrintStream&)methods wereNotImplementedstubs. They now print as the pinned PS5 WebKit 11.x source does, through #14946'sPrintStream:MonotonicTime::dumpprintsMonotonic(<seconds> sec).Seconds::dumpprints<seconds> sec.WallTime::dumpprintsWall(<seconds> sec).TimeWithDynamicClockType::dumpprints<clock>(<seconds> sec), using #14946'sClockTypeprinting.ASCIILiteral::dumpprints the literal's characters.Each one is the inline
out.print(...)template:begin(), aprintInternalfor each value, thenend(). All three go through the stream's vtable, so a guest subclass sees the same calls in the same order. Thethislayouts are the existing time types and the one-pointerASCIILiteral.URL::dump,BitVector::dump(#14152's class),MediaTime::dump(#13992) andThread::dumpare left out.tools/pr_overlap.pyon this head, withmainat0eba5db30d: no other open PR changes these exports or adds the same files. For the PRs it couldn't compare because they no longer merge withmain, GitHub's file lists show none of them changing these exports either. #13992, #14172 and #15241 change nearby lines in the same files; whichever merges later keeps both sides. The only exports it shares are with #14948, in the same stack.Tested
Debian 12, GCC 12.2, Linux 6.18, Release, at the head
f5dc0a08b885f353c7ef0b6ea35331945fcc84aa, which is on #14946's head59a53bbfcbd5eadd60fe1711a5157d57ca5bb3b2. No local changes.guest_nkwebkit_dates,guest_nkwebkit_numbers,nkwebkit_base,nkwebkit_config,nkwebkit_constants,nkwebkit_fastbitvector,nkwebkit_jsc,nkwebkit_palsessionid,nkwebkit_preferences,nkwebkit_resourceresponse,nkwebkit_webcoregeometry,nkwebkit_wtf,guest_nkwebkit_urlsandpublic_headerspass. The newnkwebkit_wtfcases cover:StringPrintStream, using the source'sdoubleformatting;begin/endorder for the dynamic-clock dump and a redirectedbegin.tools/progress.py: the five exports count as implemented (libSceNKWebKit 1351, against 1346 with #14946).tools/check_conventions.pypasses.ce247d6dbe042c0616a02eb8117efe060b1cda2f. It is AnyPS5'sBuildworkflow, dispatched in the author's fork withselect=true: the branch merged intomainat926f7dd492b0b432d9287f4d6faaaf1c9d3c86c5, built onwindows-latestwith WinLibs GCC 15.2 (MinGW-w64, UCRT). None of the 672 selected tests failed; 6 AGC tests were skipped, whichcheck_skips.pyaccepts. That includes the nine NKWebKit tests,public_headersandpatched_libraries. The later rebases ontomain(now0eba5db30d8a3d03789e52e5c1a9ff853e4e33e4, after #14479, #13766, #14925 and #15911) changed onlydocs/dev/debt/libSceNKWebKit.md, sogit range-diffshows the code and tests under test are the same as at that run. A fork-internal pull request existed only to give the workflow a number.Not built or run: macOS. No title or homebrew was run.
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)Pull request closed