feat(libSceNKWebKit): call the changed hook from the six HistoryItem … #16833
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16833"
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 majnoon40 on 2026-11-07T17:38:21Z.
What
The six
WebCore::HistoryItemsetters that in firmware tail-jump through the function pointer indata export
TL1XjYe1xLo—setURLString,setOriginalURLString,setReferrer,setTitle,setAlternateTitleandsetShouldRestoreScrollPosition— now call it, through the internalhistoryItemChangedHookpointer that defaults to a no-op, as the console's does before its moduleinstalls a handler (BunnyFl's disassembly of the 13.42 module, recorded on #15230). The item is
passed as the argument; the other five setters keep storing and returning. The console's installed
handler, the internal code that installs it and the control-flow-integrity check stay unmodelled,
recorded in
docs/dev/debt/libSceNKWebKit.md.Tested
nkwebkit_historyitempasses on Linux (g++ 14.2; direct harness compilingsrc/HistoryItem.cpp,src/WtfString.cpp,src/Bmalloc.cppandtests/HistoryItem.cpp), including the new hook cases:the default no-op call, each of the six setters calling the hook with the item pointer, and the
five plain setters not calling it; removing any of the six calls fails the suite (mutation-checked).
python3 tools/check_conventions.py --base origin/mainpasses with no findings.Checklist
main(c38d0772c0, the merge of #15230 — this PR is a direct follow-up to it); 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 repositoryPull request closed