feat(libSceNKWebKit): return 0 from 13 exports as firmware 13.42 does #16316

Merged
BunnyFl merged 25 commits from upstream-pr/16316 into main 2026-11-09 15:17:33 +00:00
BunnyFl commented 2026-11-06 07:21:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-06T07:21:43Z.


What

Thirteen libSceNKWebKit exports threw. In firmware 13.42 each one returns 0, and this change does the same:

Export NID
WKBundleFrameHandlesPageScaleGesture -0ETdbxl-Kg
WKBundleNavigationActionCopyDownloadAttribute 25mS80V8okg
WKBundleNavigationActionCopyFormElement 5EIJscg02gs
WKBundleNavigationActionCopyHitTestResult kRoezIaLVtk
WKBundleNavigationActionGetEventModifiers tyF8jxT9cso
WKBundleNavigationActionGetEventMouseButton TuYK6TAg+UY
WKBundleNavigationActionGetNavigationType tnvxzeWju10
WKBundleNavigationActionGetShouldOpenExternalURLs Ez-Pj0QWgSc
WKBundleNavigationActionGetShouldTryAppLinks x2Bw3o33jBY
WKBundlePageIsUsingDarkAppearance xBZFJROAY60
WKFrameCanShowMIMEType K5V0IcHAoOE
WKPageGetPaginationLineGridEnabled vHCGXG+KeDA
WKProtectionSpaceCopyCertificateInfo FdhooB4MqkE

They move from the throwing placeholders in Export.cpp to src/ConstantExports.cpp and follow that file: the no-parameter int prototypes in include/InventoryExports.hpp stay as they are, so only the 32-bit return is claimed. For reference, WebKit's C API headers at 702f0e31db declare six of them bool, four as returning a const struct Opaque* ref (WKStringRef, WKBundleNodeHandleRef, WKBundleHitTestResultRef, WKCertificateInfoRef), GetEventModifiers and GetNavigationType as uint32_t typedefs and GetEventMouseButton as an int32_t typedef; the module's WebKit revision is not identified, so those types are not used here.

docs/dev/debt/libSceNKWebKit.md: the 13 rows leave the throwing inventory of "Additional callable exports" and its count goes from 6304 to 6291 on current main 84f4ad4f06 (counted from the branch's tree: main has 8805 NotImplemented_nid_no_patch calls in Export.cpp for its 6304, the merged branch 8792), and a new entry under Functional records the 13.42 measurement. The existing "Constant-return exports" entry is about 11.00 and stays as it is.

Source

Firmware 13.42 system_ex/common_ex/lib/libSceNKWebKit.sprx (sha256 e63acdc164592330a287cf6914c265336b27a357098a449c1609f8f82e104409), read from disassembly, not run on a console. The module's dynamic symbol table points all 13 NIDs above at one address, 0x5b90, and each NID recomputes from its name with tools/nid_names.py compute_nid. The body, with the int3 padding on both sides:

5b8f: cc                int3
5b90: 31 c0             xor    %eax,%eax
5b92: c3                ret
5b93: cc                int3

The body at 0x5b90 reads no argument and stores nothing: a null or invalid argument is never dereferenced, here or in firmware.

Tested

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 5cb75ddc12 (main 84f4ad4f06 merged in):

  • Another merge of the same shape: the inventory count sentence was the only conflict, and the count is derived from the merged tree rather than taken from a side. This branch said 6298, main 84f4ad4f06 said 6304, and both rules give 6291: the merged Export.cpp holds 8792 NotImplemented_nid_no_patch calls (8792 - 2501), and the merged inventory table has 6298 data rows, the count plus 7. On main 84f4ad4f06 the same rules give 6304 (8805 - 2501). 6291 is thirteen below main, one for each export this pull request implements.
  • 48 of 48 pass, none Not Run (100% tests passed, 0 tests failed out of 48), with every executable behind the nkwebkit|nk_webkit tests rebuilt at this head and the libSceNKWebKit library target built. Two test executables main added while this branch sat, nkwebkit_contextsettings_tests and nkwebkit_mockmediadevices_tests, were resolved from the tree and built as part of that set.
  • tools/check_conventions.py --base upstream/main on the committed head 5cb75ddc12: all checks pass. review-tools/sig_users.py HEAD --build: no APS5_VABI declaration changes its signature on this branch.
  • tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8 at this head, against 1,954 open pull requests: 85 share files or exports with the branch. Of the ones it could compare, six have a conflicting line, every one of them the inventory count sentence (docs/dev/debt/libSceNKWebKit.md line 103 on main 84f4ad4f06): #15891, #16453, #16853, #16890, #16901 and #17726; whichever lands first makes the others recount that one sentence. None of them shares an export or a new file. The run failed closed (exit 2) on 64 pull requests that conflict with main themselves and compared none of them. All 64 were then checked by hand at this head: every added and removed line of each diff searched for the thirteen export names and their thirteen NIDs. None of the twenty-six appears in any of them, and every diff was fetched (none refused by GitHub). Our own #16386 is in that hand-checked set this time rather than in the conflicting-line table, because it conflicts with main itself; it still edits the same count sentence, so whichever of the two lands first makes the other recount.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head a2033f9786 (main a26b7827e1 merged in):

  • The fifth merge of the day, same shape as the ones below: the inventory count sentence was the only conflict, and the count is derived from the merged tree rather than taken from a side. This branch said 6302, main said 6311, and both rules give 6298: Export.cpp holds 8799 NotImplemented_nid_no_patch calls (8799 - 2501) and the inventory table has 6305 rows, the count plus 7. On main a26b7827e1 the same rules give 6311 (8812 - 2501; 6318 rows). 6298 is thirteen below main, one for each export this PR implements.
  • 46 of 46 pass, none Not Run (100% tests passed, 0 tests failed out of 46), with every executable behind the nkwebkit|nk_webkit tests rebuilt at this head and the libSceNKWebKit library target built.
  • tools/check_conventions.py --base upstream/main on the committed head a2033f9786: all checks pass. review-tools/sig_users.py HEAD --build: no APS5_VABI declaration changes its signature on this branch.
  • tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8 at this head, against 1,942 open pull requests: 86 share files or exports with the branch. Six of the ones it could compare have a conflicting line, all of them the inventory count line: #16853, #16890, #16901, #17726, #17727 and our own #16386. The run failed closed (exit 2) on 65 pull requests that conflict with main themselves and compared none of them. All 65 were then checked by hand at this head: every added and removed line of each diff searched for the thirteen export names and their thirteen NIDs. None of the twenty-six appears in any of them, and every diff was fetched (none refused by GitHub).

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 4100c142d8 (main 31e773092b merged in):

  • The inventory count sentence conflicted again, and again the count is derived from the merged tree rather than taken from either side: this branch said 6309, main said 6315, and both rules give 6302. Export.cpp holds 8803 NotImplemented_nid_no_patch calls (8803 - 2501), and the inventory table has 6309 rows, the count plus 7. On main 31e773092b the same two rules give 6315 (8816 - 2501; 6322 rows). 6302 is thirteen below main, one for each export this PR implements.
  • 46 of 46 pass, none Not Run (100% tests passed, 0 tests failed out of 46), with every executable behind the nkwebkit|nk_webkit tests rebuilt at this head and the libSceNKWebKit library target built.
  • tools/check_conventions.py --base upstream/main on the committed head 4100c142d8: all checks pass. review-tools/sig_users.py HEAD --build: no APS5_VABI declaration changes its signature on this branch.
  • tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8 at this head, against 1,949 open pull requests: 86 share files or exports with the branch. Four of the ones it could compare have a conflicting line, all of them the inventory count line (line 101 of docs/dev/debt/libSceNKWebKit.md in the comparison base): #16853, #16890, #16901 and our own #16386; whichever of them lands first makes the others recount that one sentence. The run failed closed (exit 2) on 69 pull requests that conflict with main themselves. Those 69 were not compared line by line and their diffs were not re-searched at this head: for them, overlap is not verified.
  • This is the fourth merge of main into this branch today. That one count line is edited by dozens of open pull requests - 86 open pull requests share this library's files at this head - and after each of today's merges the branch was back to CONFLICTING within the hour. The resolution is the same each time; only the derived number moves.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head badf65616f (main a55d18f626 merged in):

  • main moved again within the hour, so this is a second merge of the same kind: the only conflict was the inventory count sentence, which at badf65616f is docs/dev/debt/libSceNKWebKit.md:97 (line 96 on main a55d18f626), which main had lowered to 6334. main a55d18f626 has 8835 NotImplemented_nid_no_patch calls in Export.cpp for its 6334, the same offset of 2501; the merged tree has 8822: 8822 - 2501 = 6321, 13 below main for this branch's 13 exports. The merged inventory table has 6328 rows, the count plus 7, as on main (6341 rows for 6334). Export.cpp, src/ConstantExports.cpp and tests/Constants.cpp merged without a conflict, and git merge-tree --write-tree against upstream/main a55d18f626 is clean.
  • The branch's added and removed lines against main are the same as at 5ce8b6d4cf apart from the count; the negative control was not repeated.
  • 44 of 44 pass, none Not Run (100% tests passed, 0 tests failed out of 44), with the 43 test executables rebuilt at this head: the nkwebkit_* and guest_nkwebkit_* tests and public_headers. The libSceNKWebKit library target builds too.
  • tools/check_conventions.py --base upstream/main on the committed head badf65616f: all checks pass. No APS5_VABI declaration changes its signature on this branch (review-tools/sig_users.py HEAD --build).
  • tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8 at badf65616f, against 1,975 open pull requests: 88 share files with the branch; 6 have conflicting lines (#16386, #16642, #16643, #16853, #16890, #16901), every one of them only on the inventory count sentence (docs/dev/debt/libSceNKWebKit.md line 96 on main), and none shares an export or a new file. #16386 is the other BunnyFl libSceNKWebKit pull request, so whichever of the two lands first, the other recounts that sentence. The run failed closed (exit 2) on 70 that conflict with main themselves; I searched the added and removed lines of 69 of those diffs for the 13 export names and found none, and for #15807, whose whole diff GitHub refuses (HTTP 406, over 20,000 lines), the patches of its two libSceNKWebKit files (its files) name none of the 13 either.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 5ce8b6d4cf (main 8e34d2642d merged in):

  • The merge conflicted in docs/dev/debt/libSceNKWebKit.md only, on the inventory count sentence, which main had lowered to 6339. main 8e34d2642d has 8840 NotImplemented_nid_no_patch calls in Export.cpp for its 6339, the same offset of 2501; the merged tree has 8827 calls: 8827 - 2501 = 6326, 13 below main for this branch's 13 exports. The merged inventory table has 6333 rows, which is the count plus 7, the same offset the rows have on main (6346 rows for 6339) and at the merge base (6366 for 6359). Export.cpp, src/ConstantExports.cpp and tests/Constants.cpp merged without a conflict.
  • The branch's added and removed lines against main are the same as at 3f8df691aa apart from the count; the negative control was not repeated.
  • 43 of 43 pass, none Not Run (100% tests passed, 0 tests failed out of 43), with the 42 test executables rebuilt at this head: the nkwebkit_* and guest_nkwebkit_* tests and public_headers. The libSceNKWebKit library target builds too.
  • tools/check_conventions.py --base upstream/main on the committed head 5ce8b6d4cf: all checks pass. No APS5_VABI declaration changes its signature on this branch (review-tools/sig_users.py HEAD --build). git merge-tree --write-tree against upstream/main 8e34d2642d is clean.
  • tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8 at 5ce8b6d4cf, against 1,975 open pull requests: 88 share files with the branch and none shares an export or a new file. All 88 conflict with main themselves, so the run failed closed (exit 2) and compared none of them line by line; two (#16142, #16166) also change src/ConstantExports.cpp and tests/Constants.cpp. I searched the added and removed lines of 87 of those diffs for the 13 export names and found none. GitHub refuses #15807's whole diff (HTTP 406, over 20,000 lines), so for it I searched the patches of its two libSceNKWebKit files (CMakeLists.txt, 3 added lines, and the debt file, 1), which name none of the 13 either. Whichever lands second recounts the sentence.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 3f8df691aa (main 22ae9a397d merged in):

  • The merge conflicted in docs/dev/debt/libSceNKWebKit.md only, on the inventory count sentence, which main had lowered to 6359. main 22ae9a397d has 8860 NotImplemented_nid_no_patch calls in Export.cpp for its 6359, an offset of 2501; the merged tree has 8847 calls: 8847 − 2501 = 6346, 13 below main for this branch's 13 exports. Export.cpp merged without a conflict.
  • The branch's added and removed lines against main are the same as at 0b07f22388 apart from the count; the negative control below was not repeated.
  • 43 of 43 pass, none Not Run, with the 42 test executables rebuilt at this head: the nkwebkit_* and guest_nkwebkit_* tests and public_headers. The libSceNKWebKit library target builds too.
  • tools/check_conventions.py --base upstream/main on the committed head 3f8df691aa: all checks pass. No APS5_VABI declaration changes its signature on this branch (review-tools/sig_users.py HEAD --build). git merge-tree --write-tree against main 286b14d2f7 is clean.
  • tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8 at 3f8df691aa, against 1,994 open pull requests: 15 have conflicting lines, all on the inventory count sentence (line 93 of docs/dev/debt/libSceNKWebKit.md on main), and none shares an export or a new file. The run failed closed (exit 2) on 55 that conflict with main and were not compared line by line; three of them (#16127, #16142, #16166) also change src/ConstantExports.cpp and tests/Constants.cpp. I searched the added and removed lines of those 55 for the 13 export names and found none. For #15807 GitHub refuses the whole diff, and the search covered its two libSceNKWebKit files only. Whichever lands second recounts the sentence.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 0b07f22388 (main 3aa0ac20df merged in at 361f3cd3fb, then WKFrameGetCertificateInfo dropped). The blocks after this one describe earlier heads, when the PR had 14 exports.

  • The merge conflicted in docs/dev/debt/libSceNKWebKit.md only, on the inventory count sentence, which main had lowered to 6362; main also corrected a commit hash in that sentence's aerolib link, which is kept. main 3aa0ac20df has 8863 NotImplemented_nid_no_patch calls in Export.cpp for its 6362, so the offset is still 2501. With WKFrameGetCertificateInfo back to throwing, the branch's tree has 8850 calls: 8850 − 2501 = 6349, 13 below main for this branch's 13 exports, whose 13 rows it removes.
  • WKFrameGetCertificateInfo (L1HtA3ROv5k) was one of the 14 and is left out now. #16509 implements it too. Here it keeps main's throwing stub and table row, and the test no longer checks it.
  • nkwebkit_constants passes, 1 of 1, with libSceNKWebKit and its test executable rebuilt. The rest of the nkwebkit_* suite was not re-run at this head.
  • Negative control at this head: with main's Export.cpp and src/ConstantExports.cpp put back and this branch's test kept, nkwebkit_constants aborts with WKBundleFrameHandlesPageScaleGesture not implemented (1 of 1 failed); with the branch's files restored it passes again.
  • tools/check_conventions.py --base upstream/main on the committed head 0b07f22388: all checks pass. No APS5_VABI declaration changes its signature on this branch (review-tools/sig_users.py HEAD --build).
  • tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8 at 0b07f22388, against 1,759 open pull requests: 20 have conflicting lines and none shares an export or a new file. 19 conflict on the inventory count sentence (line 91 of docs/dev/debt/libSceNKWebKit.md on main, #15175 and #16522 also on line 90); #15182 also conflicts in core/libs/prx/libSceNKWebKit/Export.cpp (lines 11494-11501 on main) and on lines 398-399 of the debt file. The run failed closed (exit 2) on 55 that conflict with main and were not compared line by line; four of them (#16123, #16127, #16142, #16166) also change src/ConstantExports.cpp and tests/Constants.cpp. Whichever lands second recounts the sentence.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head e14ff4fa4b (main ef9dc27c65 merged in):

  • The merge conflicted in docs/dev/debt/libSceNKWebKit.md only, on the inventory count sentence, which main had lowered to 6368. main ef9dc27c65 has 8869 NotImplemented_nid_no_patch calls in Export.cpp for its 6368, so the offset is still 2501; the merged tree has 8855 calls: 8855 − 2501 = 6354, 14 below main for this branch's 14 exports, whose 14 rows it removes. Export.cpp merged without a conflict, and the branch's added and removed lines against main are the same as at 27be04c03c apart from the count, so the negative control below was not repeated.
  • 42 of 42 pass, none Not Run, with the 41 test executables rebuilt at this head: the 41 nkwebkit_* and guest_nkwebkit_* tests (main's new nkwebkit_parsedcontentrange included) and public_headers. The libSceNKWebKit library target builds too.
  • git merge-tree --write-tree upstream/main HEAD is clean, and no APS5_VABI declaration changes its signature on this branch.
  • tools/check_conventions.py --base upstream/main on the committed head e14ff4fa4b: all checks pass.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 27be04c03c (main 6b733c4ef2 merged in):

  • The merge conflicted in docs/dev/debt/libSceNKWebKit.md only, on the inventory count sentence, which main had lowered to 6373 with #15230. #15230 removed 28 NotImplemented_nid_no_patch calls from Export.cpp but 27 inventory rows, since WebCore::HistoryItem::formData had no row, so main's 8874 calls now sit 2501 above its 6373 instead of 2502. This branch's 14 exports are all rows of the inventory table (the 14 rows it removes from docs/dev/debt/libSceNKWebKit.md), and the merged tree has 8860 calls: 8860 − 2501 = 6359. Export.cpp merged without a conflict, and the branch's added and removed lines against main are the same as at f2eee5d1e6 apart from the count, so the negative control below was not repeated.
  • 41 of 41 pass, none Not Run, with the 40 test executables rebuilt at this head: the 40 nkwebkit_* and guest_nkwebkit_* tests (main's new nkwebkit_historyitem included) and public_headers. The libSceNKWebKit library target builds too.
  • tools/check_conventions.py --base upstream/main on the committed head 27be04c03c: all checks pass.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head f2eee5d1e6 (main 6c1efc7c59 merged in):

  • The merge conflicted in docs/dev/debt/libSceNKWebKit.md only, on the inventory count sentence, which main had lowered to 6400. The count is taken from the merged tree as above: main 6c1efc7c59 has 8902 NotImplemented_nid_no_patch calls in Export.cpp for its 6400, the merged tree 8888, so 6386. Export.cpp merged without a conflict. The branch's added and removed lines against main are the same as at 3125dcf7d6 apart from the count, so the negative control below was not repeated.
  • 40 of 40 pass, none Not Run, with the 39 test executables rebuilt at this head: the 39 nkwebkit_* and guest_nkwebkit_* tests (main's new nkwebkit_webcoreviewport included) and public_headers. The libSceNKWebKit library target builds too.
  • tools/check_conventions.py --base upstream/main on the committed head f2eee5d1e6: all checks pass.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 3125dcf7d6 (main 502288c2cf merged in):

  • The merge conflicted in docs/dev/debt/libSceNKWebKit.md only: main added its "WebCore text dumps" entry next to the inventory count sentence (kept) and lowered the count to 6405. The count is taken from the merged tree as above: main 502288c2cf has 8907 NotImplemented_nid_no_patch calls in Export.cpp for its 6405, the merged tree 8893, so 6391. Export.cpp merged without a conflict. The branch's added and removed lines against main are the same as at 06b1386f83 apart from the count, so the negative control below was not repeated.
  • 39 of 39 pass, none Not Run, with the 38 test executables rebuilt at this head: the 38 nkwebkit_* and guest_nkwebkit_* tests (main's new nkwebkit_credentialbase, nkwebkit_resourcerequest, nkwebkit_securityorigin, nkwebkit_webcoredump and nkwebkit_webcoreparsers included) and public_headers. The libSceNKWebKit library target builds too.
  • tools/check_conventions.py --base upstream/main on the committed head 3125dcf7d6: all checks pass.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 06b1386f83 (main 23bc7c7625 merged in):

  • The merge conflicted in docs/dev/debt/libSceNKWebKit.md only, on the inventory count sentence, which main had lowered to 6491. The count is taken from the merged tree as above: main 23bc7c7625 has 8993 NotImplemented_nid_no_patch calls in Export.cpp for its 6491, the merged tree 8979, so 6477. The branch's added and removed lines against main are the same as at 6b0a643815 apart from the count, so the negative control below was not repeated.
  • 34 of 34 pass, none Not Run, with the 33 test executables rebuilt at this head: the 33 nkwebkit_* and guest_nkwebkit_* tests (main's new nkwebkit_httpheadermap included) and public_headers. The libSceNKWebKit library target builds too.
  • tools/check_conventions.py --base upstream/main on the committed head 06b1386f83: all checks pass.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 6b0a643815 (main cdefa2cf7c merged in):

  • The merge conflicted in Export.cpp and docs/dev/debt/libSceNKWebKit.md: #15151 implemented seven WKProtectionSpace* getters whose stubs and table rows sat next to this branch's WKProtectionSpaceCopyCertificateInfo, so both sides' removals are kept, and the inventory count is taken from the merged tree as above: 6487. The merged Export.cpp is main's with this branch's 14 stub blocks removed, and the branch's added and removed lines against main are the same 14 exports as before.
  • 33 of 33 pass, none Not Run, with the 32 test executables rebuilt at this head: the 32 nkwebkit_* and guest_nkwebkit_* tests and public_headers. The declarations do not change.
  • The negative control below was not repeated: the branch's own lines are unchanged.
  • tools/check_conventions.py --base upstream/main on the committed head 6b0a643815: all checks pass.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 2fcdc0dcf6 (main cdf371df68 merged in):

  • The merge conflicted in docs/dev/debt/libSceNKWebKit.md only: main added its WTF::BitVector entry where this branch adds its 13.42 entry (both kept), and lowered the inventory count to 6537. The count is taken from the merged tree as above: 6523.
  • 32 of 32 pass, none Not Run, with the 31 test executables rebuilt at this head: the 31 nkwebkit_* and guest_nkwebkit_* tests and public_headers. The declarations do not change.
  • The branch's added and removed lines against main are the same as at 374489fc91 apart from the count, so the negative control below was not repeated.
  • tools/check_conventions.py --base upstream/main on the committed head 2fcdc0dcf6: all checks pass.

Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head 374489fc91 (main 5f2e6336ed merged in):

  • 31 of 31 pass, none Not Run, with the 30 test executables rebuilt at this head: the 30 nkwebkit_* and guest_nkwebkit_* tests (main's new nkwebkit_noops included) and public_headers. The declarations do not change.
  • tests/Constants.cpp (nkwebkit_constants) checks that each of the 14 returns 0.
  • Negative control: with main's Export.cpp and src/ConstantExports.cpp put back and this branch's test kept, nkwebkit_constants aborts with WKBundleFrameHandlesPageScaleGesture not implemented (1 of 1 failed).
  • tools/check_conventions.py --base upstream/main on the committed head: all checks pass.
  • tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns, run at the previous head 3be511242b, against 1,869 open pull requests: 92 share files with the branch, and the run failed closed. It lists 8 with line conflicts and 73 more in its "Some comparisons could not be completed" table, which it does not compare line by line. I grepped the added and removed lines of the 80 distinct pull requests it lists for the 14 names, and none of them names any of the 14. The compared rows are all docs/dev/debt/libSceNKWebKit.md: the inventory count sentence on line 59 (#13930, #13947, #15225, #15241, #15326, #15843, #16016), and for #13930 also lines 696-698 of the inventory table, where this branch removes the WKProtectionSpaceCopyCertificateInfo row and #13930 edits the rows next to it. Whichever lands second recounts that sentence. #13486 lists the 14 under Same exports, but its diff is three relinker files (core/relinker/CMakeLists.txt, ImportModule.hpp, ImportModuleTests.cpp), so that row did not come from its changes.
  • Linux and macOS were not built or run. No title was run.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One 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 file
  • No notes, investigation .md files 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

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5184411394 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/16316). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-06T07:21:43Z. --- ### What Thirteen `libSceNKWebKit` exports threw. In firmware 13.42 each one returns 0, and this change does the same: | Export | NID | |---|---| | `WKBundleFrameHandlesPageScaleGesture` | `-0ETdbxl-Kg` | | `WKBundleNavigationActionCopyDownloadAttribute` | `25mS80V8okg` | | `WKBundleNavigationActionCopyFormElement` | `5EIJscg02gs` | | `WKBundleNavigationActionCopyHitTestResult` | `kRoezIaLVtk` | | `WKBundleNavigationActionGetEventModifiers` | `tyF8jxT9cso` | | `WKBundleNavigationActionGetEventMouseButton` | `TuYK6TAg+UY` | | `WKBundleNavigationActionGetNavigationType` | `tnvxzeWju10` | | `WKBundleNavigationActionGetShouldOpenExternalURLs` | `Ez-Pj0QWgSc` | | `WKBundleNavigationActionGetShouldTryAppLinks` | `x2Bw3o33jBY` | | `WKBundlePageIsUsingDarkAppearance` | `xBZFJROAY60` | | `WKFrameCanShowMIMEType` | `K5V0IcHAoOE` | | `WKPageGetPaginationLineGridEnabled` | `vHCGXG+KeDA` | | `WKProtectionSpaceCopyCertificateInfo` | `FdhooB4MqkE` | They move from the throwing placeholders in `Export.cpp` to `src/ConstantExports.cpp` and follow that file: the no-parameter `int` prototypes in `include/InventoryExports.hpp` stay as they are, so only the 32-bit return is claimed. For reference, WebKit's C API headers at [`702f0e31db`](https://github.com/WebKit/WebKit/tree/702f0e31dbdf4eb44d98aae51ee18f3868514445) declare six of them `bool`, four as returning a `const struct Opaque*` ref (`WKStringRef`, `WKBundleNodeHandleRef`, `WKBundleHitTestResultRef`, `WKCertificateInfoRef`), `GetEventModifiers` and `GetNavigationType` as `uint32_t` typedefs and `GetEventMouseButton` as an `int32_t` typedef; the module's WebKit revision is not identified, so those types are not used here. `docs/dev/debt/libSceNKWebKit.md`: the 13 rows leave the throwing inventory of "Additional callable exports" and its count goes from 6304 to 6291 on current `main` `84f4ad4f06` (counted from the branch's tree: `main` has 8805 `NotImplemented_nid_no_patch` calls in `Export.cpp` for its 6304, the merged branch 8792), and a new entry under Functional records the 13.42 measurement. The existing "Constant-return exports" entry is about 11.00 and stays as it is. ### Source Firmware 13.42 `system_ex/common_ex/lib/libSceNKWebKit.sprx` (sha256 `e63acdc164592330a287cf6914c265336b27a357098a449c1609f8f82e104409`), read from disassembly, not run on a console. The module's dynamic symbol table points all 13 NIDs above at one address, `0x5b90`, and each NID recomputes from its name with `tools/nid_names.py` `compute_nid`. The body, with the `int3` padding on both sides: ``` 5b8f: cc int3 5b90: 31 c0 xor %eax,%eax 5b92: c3 ret 5b93: cc int3 ``` The body at `0x5b90` reads no argument and stores nothing: a null or invalid argument is never dereferenced, here or in firmware. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `5cb75ddc12` (`main` `84f4ad4f06` merged in): - Another merge of the same shape: the inventory count sentence was the only conflict, and the count is **derived from the merged tree** rather than taken from a side. This branch said 6298, `main` `84f4ad4f06` said 6304, and both rules give **6291**: the merged `Export.cpp` holds 8792 `NotImplemented_nid_no_patch` calls (8792 - 2501), and the merged inventory table has 6298 data rows, the count plus 7. On `main` `84f4ad4f06` the same rules give 6304 (8805 - 2501). 6291 is thirteen below `main`, one for each export this pull request implements. - **48 of 48 pass, none Not Run** (100% tests passed, 0 tests failed out of 48), with every executable behind the `nkwebkit|nk_webkit` tests rebuilt at this head and the `libSceNKWebKit` library target built. Two test executables `main` added while this branch sat, `nkwebkit_contextsettings_tests` and `nkwebkit_mockmediadevices_tests`, were resolved from the tree and built as part of that set. - `tools/check_conventions.py --base upstream/main` on the committed head `5cb75ddc12`: all checks pass. `review-tools/sig_users.py HEAD --build`: no `APS5_VABI` declaration changes its signature on this branch. - `tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8` at this head, against 1,954 open pull requests: 85 share files or exports with the branch. Of the ones it could compare, six have a conflicting line, every one of them the inventory count sentence (`docs/dev/debt/libSceNKWebKit.md` line 103 on `main` `84f4ad4f06`): [#15891](https://github.com/boykopovar/AnyPS5/pull/15891), [#16453](https://github.com/boykopovar/AnyPS5/pull/16453), [#16853](https://github.com/boykopovar/AnyPS5/pull/16853), [#16890](https://github.com/boykopovar/AnyPS5/pull/16890), [#16901](https://github.com/boykopovar/AnyPS5/pull/16901) and [#17726](https://github.com/boykopovar/AnyPS5/pull/17726); whichever lands first makes the others recount that one sentence. None of them shares an export or a new file. The run failed closed (exit 2) on 64 pull requests that conflict with `main` themselves and compared none of them. **All 64 were then checked by hand at this head**: every added and removed line of each diff searched for the thirteen export names and their thirteen NIDs. None of the twenty-six appears in any of them, and every diff was fetched (none refused by GitHub). Our own [#16386](https://github.com/boykopovar/AnyPS5/pull/16386) is in that hand-checked set this time rather than in the conflicting-line table, because it conflicts with `main` itself; it still edits the same count sentence, so whichever of the two lands first makes the other recount. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `a2033f9786` (`main` `a26b7827e1` merged in): - The fifth merge of the day, same shape as the ones below: the inventory count sentence was the only conflict, and the count is **derived from the merged tree** rather than taken from a side. This branch said 6302, `main` said 6311, and both rules give **6298**: `Export.cpp` holds 8799 `NotImplemented_nid_no_patch` calls (8799 - 2501) and the inventory table has 6305 rows, the count plus 7. On `main` `a26b7827e1` the same rules give 6311 (8812 - 2501; 6318 rows). 6298 is thirteen below `main`, one for each export this PR implements. - **46 of 46 pass, none Not Run** (100% tests passed, 0 tests failed out of 46), with every executable behind the `nkwebkit|nk_webkit` tests rebuilt at this head and the `libSceNKWebKit` library target built. - `tools/check_conventions.py --base upstream/main` on the committed head `a2033f9786`: all checks pass. `review-tools/sig_users.py HEAD --build`: no `APS5_VABI` declaration changes its signature on this branch. - `tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8` at this head, against 1,942 open pull requests: 86 share files or exports with the branch. Six of the ones it could compare have a conflicting line, all of them the inventory count line: [#16853](https://github.com/boykopovar/AnyPS5/pull/16853), [#16890](https://github.com/boykopovar/AnyPS5/pull/16890), [#16901](https://github.com/boykopovar/AnyPS5/pull/16901), [#17726](https://github.com/boykopovar/AnyPS5/pull/17726), [#17727](https://github.com/boykopovar/AnyPS5/pull/17727) and our own [#16386](https://github.com/boykopovar/AnyPS5/pull/16386). The run failed closed (exit 2) on 65 pull requests that conflict with `main` themselves and compared none of them. **All 65 were then checked by hand at this head**: every added and removed line of each diff searched for the thirteen export names and their thirteen NIDs. None of the twenty-six appears in any of them, and every diff was fetched (none refused by GitHub). Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `4100c142d8` (`main` `31e773092b` merged in): - The inventory count sentence conflicted again, and again the count is **derived from the merged tree** rather than taken from either side: this branch said 6309, `main` said 6315, and both rules give **6302**. `Export.cpp` holds 8803 `NotImplemented_nid_no_patch` calls (8803 - 2501), and the inventory table has 6309 rows, the count plus 7. On `main` `31e773092b` the same two rules give 6315 (8816 - 2501; 6322 rows). 6302 is thirteen below `main`, one for each export this PR implements. - **46 of 46 pass, none Not Run** (100% tests passed, 0 tests failed out of 46), with every executable behind the `nkwebkit|nk_webkit` tests rebuilt at this head and the `libSceNKWebKit` library target built. - `tools/check_conventions.py --base upstream/main` on the committed head `4100c142d8`: all checks pass. `review-tools/sig_users.py HEAD --build`: no `APS5_VABI` declaration changes its signature on this branch. - `tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8` at this head, against 1,949 open pull requests: 86 share files or exports with the branch. Four of the ones it could compare have a conflicting line, all of them the inventory count line (line 101 of `docs/dev/debt/libSceNKWebKit.md` in the comparison base): [#16853](https://github.com/boykopovar/AnyPS5/pull/16853), [#16890](https://github.com/boykopovar/AnyPS5/pull/16890), [#16901](https://github.com/boykopovar/AnyPS5/pull/16901) and **our own [#16386](https://github.com/boykopovar/AnyPS5/pull/16386)**; whichever of them lands first makes the others recount that one sentence. The run failed closed (exit 2) on 69 pull requests that conflict with `main` themselves. Those 69 were not compared line by line and their diffs were not re-searched at this head: for them, overlap is **not verified**. - This is the fourth merge of `main` into this branch today. That one count line is edited by dozens of open pull requests - 86 open pull requests share this library's files at this head - and after each of today's merges the branch was back to `CONFLICTING` within the hour. The resolution is the same each time; only the derived number moves. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `badf65616f` (`main` `a55d18f626` merged in): - `main` moved again within the hour, so this is a second merge of the same kind: the only conflict was the inventory count sentence, which at `badf65616f` is `docs/dev/debt/libSceNKWebKit.md:97` (line 96 on `main` `a55d18f626`), which `main` had lowered to 6334. `main` `a55d18f626` has 8835 `NotImplemented_nid_no_patch` calls in `Export.cpp` for its 6334, the same offset of 2501; the merged tree has 8822: 8822 - 2501 = **6321**, 13 below `main` for this branch's 13 exports. The merged inventory table has 6328 rows, the count plus 7, as on `main` (6341 rows for 6334). `Export.cpp`, `src/ConstantExports.cpp` and `tests/Constants.cpp` merged without a conflict, and `git merge-tree --write-tree` against `upstream/main` `a55d18f626` is clean. - The branch's added and removed lines against `main` are the same as at `5ce8b6d4cf` apart from the count; the negative control was not repeated. - **44 of 44 pass, none Not Run** (100% tests passed, 0 tests failed out of 44), with the 43 test executables rebuilt at this head: the `nkwebkit_*` and `guest_nkwebkit_*` tests and `public_headers`. The `libSceNKWebKit` library target builds too. - `tools/check_conventions.py --base upstream/main` on the committed head `badf65616f`: all checks pass. No `APS5_VABI` declaration changes its signature on this branch (`review-tools/sig_users.py HEAD --build`). - `tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8` at `badf65616f`, against 1,975 open pull requests: 88 share files with the branch; 6 have conflicting lines (#16386, #16642, #16643, #16853, #16890, #16901), every one of them only on the inventory count sentence (`docs/dev/debt/libSceNKWebKit.md` line 96 on `main`), and none shares an export or a new file. [#16386](https://github.com/boykopovar/AnyPS5/pull/16386) is the other BunnyFl libSceNKWebKit pull request, so whichever of the two lands first, the other recounts that sentence. The run failed closed (exit 2) on 70 that conflict with `main` themselves; I searched the added and removed lines of 69 of those diffs for the 13 export names and found none, and for #15807, whose whole diff GitHub refuses (HTTP 406, over 20,000 lines), the patches of its two `libSceNKWebKit` files ([its files](https://github.com/boykopovar/AnyPS5/pull/15807/files)) name none of the 13 either. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `5ce8b6d4cf` (`main` `8e34d2642d` merged in): - The merge conflicted in `docs/dev/debt/libSceNKWebKit.md` only, on the inventory count sentence, which `main` had lowered to 6339. `main` `8e34d2642d` has 8840 `NotImplemented_nid_no_patch` calls in `Export.cpp` for its 6339, the same offset of 2501; the merged tree has 8827 calls: 8827 - 2501 = **6326**, 13 below `main` for this branch's 13 exports. The merged inventory table has 6333 rows, which is the count plus 7, the same offset the rows have on `main` (6346 rows for 6339) and at the merge base (6366 for 6359). `Export.cpp`, `src/ConstantExports.cpp` and `tests/Constants.cpp` merged without a conflict. - The branch's added and removed lines against `main` are the same as at `3f8df691aa` apart from the count; the negative control was not repeated. - **43 of 43 pass, none Not Run** (100% tests passed, 0 tests failed out of 43), with the 42 test executables rebuilt at this head: the `nkwebkit_*` and `guest_nkwebkit_*` tests and `public_headers`. The `libSceNKWebKit` library target builds too. - `tools/check_conventions.py --base upstream/main` on the committed head `5ce8b6d4cf`: all checks pass. No `APS5_VABI` declaration changes its signature on this branch (`review-tools/sig_users.py HEAD --build`). `git merge-tree --write-tree` against `upstream/main` `8e34d2642d` is clean. - `tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8` at `5ce8b6d4cf`, against 1,975 open pull requests: 88 share files with the branch and none shares an export or a new file. All 88 conflict with `main` themselves, so the run failed closed (exit 2) and compared none of them line by line; two (#16142, #16166) also change `src/ConstantExports.cpp` and `tests/Constants.cpp`. I searched the added and removed lines of 87 of those diffs for the 13 export names and found none. GitHub refuses #15807's whole diff (HTTP 406, over 20,000 lines), so for it I searched the patches of its two `libSceNKWebKit` files (`CMakeLists.txt`, 3 added lines, and the debt file, 1), which name none of the 13 either. Whichever lands second recounts the sentence. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `3f8df691aa` (`main` `22ae9a397d` merged in): - The merge conflicted in `docs/dev/debt/libSceNKWebKit.md` only, on the inventory count sentence, which `main` had lowered to 6359. `main` `22ae9a397d` has 8860 `NotImplemented_nid_no_patch` calls in `Export.cpp` for its 6359, an offset of 2501; the merged tree has 8847 calls: 8847 − 2501 = **6346**, 13 below `main` for this branch's 13 exports. `Export.cpp` merged without a conflict. - The branch's added and removed lines against `main` are the same as at `0b07f22388` apart from the count; the negative control below was not repeated. - **43 of 43 pass, none Not Run**, with the 42 test executables rebuilt at this head: the `nkwebkit_*` and `guest_nkwebkit_*` tests and `public_headers`. The `libSceNKWebKit` library target builds too. - `tools/check_conventions.py --base upstream/main` on the committed head `3f8df691aa`: all checks pass. No `APS5_VABI` declaration changes its signature on this branch (`review-tools/sig_users.py HEAD --build`). `git merge-tree --write-tree` against `main` `286b14d2f7` is clean. - `tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8` at `3f8df691aa`, against 1,994 open pull requests: 15 have conflicting lines, all on the inventory count sentence (line 93 of `docs/dev/debt/libSceNKWebKit.md` on `main`), and none shares an export or a new file. The run failed closed (exit 2) on 55 that conflict with `main` and were not compared line by line; three of them (#16127, #16142, #16166) also change `src/ConstantExports.cpp` and `tests/Constants.cpp`. I searched the added and removed lines of those 55 for the 13 export names and found none. For #15807 GitHub refuses the whole diff, and the search covered its two `libSceNKWebKit` files only. Whichever lands second recounts the sentence. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `0b07f22388` (`main` `3aa0ac20df` merged in at `361f3cd3fb`, then `WKFrameGetCertificateInfo` dropped). The blocks after this one describe earlier heads, when the PR had 14 exports. - The merge conflicted in `docs/dev/debt/libSceNKWebKit.md` only, on the inventory count sentence, which `main` had lowered to 6362; `main` also corrected a commit hash in that sentence's aerolib link, which is kept. `main` `3aa0ac20df` has 8863 `NotImplemented_nid_no_patch` calls in `Export.cpp` for its 6362, so the offset is still 2501. With `WKFrameGetCertificateInfo` back to throwing, the branch's tree has 8850 calls: 8850 − 2501 = **6349**, 13 below `main` for this branch's 13 exports, whose 13 rows it removes. - `WKFrameGetCertificateInfo` (`L1HtA3ROv5k`) was one of the 14 and is left out now. [#16509](https://github.com/boykopovar/AnyPS5/pull/16509) implements it too. Here it keeps `main`'s throwing stub and table row, and the test no longer checks it. - `nkwebkit_constants` passes, 1 of 1, with `libSceNKWebKit` and its test executable rebuilt. The rest of the `nkwebkit_*` suite was not re-run at this head. - **Negative control** at this head: with `main`'s `Export.cpp` and `src/ConstantExports.cpp` put back and this branch's test kept, `nkwebkit_constants` aborts with `WKBundleFrameHandlesPageScaleGesture not implemented` (1 of 1 failed); with the branch's files restored it passes again. - `tools/check_conventions.py --base upstream/main` on the committed head `0b07f22388`: all checks pass. No `APS5_VABI` declaration changes its signature on this branch (`review-tools/sig_users.py HEAD --build`). - `tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns --jobs 8` at `0b07f22388`, against 1,759 open pull requests: 20 have conflicting lines and none shares an export or a new file. 19 conflict on the inventory count sentence (line 91 of `docs/dev/debt/libSceNKWebKit.md` on `main`, #15175 and #16522 also on line 90); #15182 also conflicts in `core/libs/prx/libSceNKWebKit/Export.cpp` (lines 11494-11501 on `main`) and on lines 398-399 of the debt file. The run failed closed (exit 2) on 55 that conflict with `main` and were not compared line by line; four of them (#16123, #16127, #16142, #16166) also change `src/ConstantExports.cpp` and `tests/Constants.cpp`. Whichever lands second recounts the sentence. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `e14ff4fa4b` (`main` `ef9dc27c65` merged in): - The merge conflicted in `docs/dev/debt/libSceNKWebKit.md` only, on the inventory count sentence, which `main` had lowered to 6368. `main` `ef9dc27c65` has 8869 `NotImplemented_nid_no_patch` calls in `Export.cpp` for its 6368, so the offset is still 2501; the merged tree has 8855 calls: 8855 − 2501 = **6354**, 14 below `main` for this branch's 14 exports, whose 14 rows it removes. `Export.cpp` merged without a conflict, and the branch's added and removed lines against `main` are the same as at `27be04c03c` apart from the count, so the negative control below was not repeated. - **42 of 42 pass, none Not Run**, with the 41 test executables rebuilt at this head: the 41 `nkwebkit_*` and `guest_nkwebkit_*` tests (`main`'s new `nkwebkit_parsedcontentrange` included) and `public_headers`. The `libSceNKWebKit` library target builds too. - `git merge-tree --write-tree upstream/main HEAD` is clean, and no `APS5_VABI` declaration changes its signature on this branch. - `tools/check_conventions.py --base upstream/main` on the committed head `e14ff4fa4b`: all checks pass. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `27be04c03c` (`main` `6b733c4ef2` merged in): - The merge conflicted in `docs/dev/debt/libSceNKWebKit.md` only, on the inventory count sentence, which `main` had lowered to 6373 with #15230. #15230 removed 28 `NotImplemented_nid_no_patch` calls from `Export.cpp` but 27 inventory rows, since `WebCore::HistoryItem::formData` had no row, so `main`'s 8874 calls now sit 2501 above its 6373 instead of 2502. This branch's 14 exports are all rows of the inventory table (the 14 rows it removes from `docs/dev/debt/libSceNKWebKit.md`), and the merged tree has 8860 calls: 8860 − 2501 = **6359**. `Export.cpp` merged without a conflict, and the branch's added and removed lines against `main` are the same as at `f2eee5d1e6` apart from the count, so the negative control below was not repeated. - **41 of 41 pass, none Not Run**, with the 40 test executables rebuilt at this head: the 40 `nkwebkit_*` and `guest_nkwebkit_*` tests (`main`'s new `nkwebkit_historyitem` included) and `public_headers`. The `libSceNKWebKit` library target builds too. - `tools/check_conventions.py --base upstream/main` on the committed head `27be04c03c`: all checks pass. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `f2eee5d1e6` (`main` `6c1efc7c59` merged in): - The merge conflicted in `docs/dev/debt/libSceNKWebKit.md` only, on the inventory count sentence, which `main` had lowered to 6400. The count is taken from the merged tree as above: `main` `6c1efc7c59` has 8902 `NotImplemented_nid_no_patch` calls in `Export.cpp` for its 6400, the merged tree 8888, so **6386**. `Export.cpp` merged without a conflict. The branch's added and removed lines against `main` are the same as at `3125dcf7d6` apart from the count, so the negative control below was not repeated. - **40 of 40 pass, none Not Run**, with the 39 test executables rebuilt at this head: the 39 `nkwebkit_*` and `guest_nkwebkit_*` tests (`main`'s new `nkwebkit_webcoreviewport` included) and `public_headers`. The `libSceNKWebKit` library target builds too. - `tools/check_conventions.py --base upstream/main` on the committed head `f2eee5d1e6`: all checks pass. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `3125dcf7d6` (`main` `502288c2cf` merged in): - The merge conflicted in `docs/dev/debt/libSceNKWebKit.md` only: `main` added its "WebCore text dumps" entry next to the inventory count sentence (kept) and lowered the count to 6405. The count is taken from the merged tree as above: `main` `502288c2cf` has 8907 `NotImplemented_nid_no_patch` calls in `Export.cpp` for its 6405, the merged tree 8893, so **6391**. `Export.cpp` merged without a conflict. The branch's added and removed lines against `main` are the same as at `06b1386f83` apart from the count, so the negative control below was not repeated. - **39 of 39 pass, none Not Run**, with the 38 test executables rebuilt at this head: the 38 `nkwebkit_*` and `guest_nkwebkit_*` tests (`main`'s new `nkwebkit_credentialbase`, `nkwebkit_resourcerequest`, `nkwebkit_securityorigin`, `nkwebkit_webcoredump` and `nkwebkit_webcoreparsers` included) and `public_headers`. The `libSceNKWebKit` library target builds too. - `tools/check_conventions.py --base upstream/main` on the committed head `3125dcf7d6`: all checks pass. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `06b1386f83` (`main` `23bc7c7625` merged in): - The merge conflicted in `docs/dev/debt/libSceNKWebKit.md` only, on the inventory count sentence, which `main` had lowered to 6491. The count is taken from the merged tree as above: `main` `23bc7c7625` has 8993 `NotImplemented_nid_no_patch` calls in `Export.cpp` for its 6491, the merged tree 8979, so **6477**. The branch's added and removed lines against `main` are the same as at `6b0a643815` apart from the count, so the negative control below was not repeated. - **34 of 34 pass, none Not Run**, with the 33 test executables rebuilt at this head: the 33 `nkwebkit_*` and `guest_nkwebkit_*` tests (`main`'s new `nkwebkit_httpheadermap` included) and `public_headers`. The `libSceNKWebKit` library target builds too. - `tools/check_conventions.py --base upstream/main` on the committed head `06b1386f83`: all checks pass. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `6b0a643815` (`main` `cdefa2cf7c` merged in): - The merge conflicted in `Export.cpp` and `docs/dev/debt/libSceNKWebKit.md`: #15151 implemented seven `WKProtectionSpace*` getters whose stubs and table rows sat next to this branch's `WKProtectionSpaceCopyCertificateInfo`, so both sides' removals are kept, and the inventory count is taken from the merged tree as above: **6487**. The merged `Export.cpp` is `main`'s with this branch's 14 stub blocks removed, and the branch's added and removed lines against `main` are the same 14 exports as before. - **33 of 33 pass, none Not Run**, with the 32 test executables rebuilt at this head: the 32 `nkwebkit_*` and `guest_nkwebkit_*` tests and `public_headers`. The declarations do not change. - The negative control below was not repeated: the branch's own lines are unchanged. - `tools/check_conventions.py --base upstream/main` on the committed head `6b0a643815`: all checks pass. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `2fcdc0dcf6` (`main` `cdf371df68` merged in): - The merge conflicted in `docs/dev/debt/libSceNKWebKit.md` only: `main` added its `WTF::BitVector` entry where this branch adds its 13.42 entry (both kept), and lowered the inventory count to 6537. The count is taken from the merged tree as above: **6523**. - **32 of 32 pass, none Not Run**, with the 31 test executables rebuilt at this head: the 31 `nkwebkit_*` and `guest_nkwebkit_*` tests and `public_headers`. The declarations do not change. - The branch's added and removed lines against `main` are the same as at `374489fc91` apart from the count, so the negative control below was not repeated. - `tools/check_conventions.py --base upstream/main` on the committed head `2fcdc0dcf6`: all checks pass. Windows 11 Pro 10.0.26300, WinLibs GCC, Release, head `374489fc91` (`main` `5f2e6336ed` merged in): - 31 of 31 pass, none Not Run, with the 30 test executables rebuilt at this head: the 30 `nkwebkit_*` and `guest_nkwebkit_*` tests (`main`'s new `nkwebkit_noops` included) and `public_headers`. The declarations do not change. - `tests/Constants.cpp` (`nkwebkit_constants`) checks that each of the 14 returns 0. - **Negative control:** with `main`'s `Export.cpp` and `src/ConstantExports.cpp` put back and this branch's test kept, `nkwebkit_constants` aborts with `WKBundleFrameHandlesPageScaleGesture not implemented` (1 of 1 failed). - `tools/check_conventions.py --base upstream/main` on the committed head: all checks pass. - `tools/pr_overlap.py --branch feat/nkwebkit-13-42-constant-returns`, run at the previous head `3be511242b`, against 1,869 open pull requests: 92 share files with the branch, and the run failed closed. It lists 8 with line conflicts and 73 more in its "Some comparisons could not be completed" table, which it does not compare line by line. I grepped the added and removed lines of the 80 distinct pull requests it lists for the 14 names, and none of them names any of the 14. The compared rows are all `docs/dev/debt/libSceNKWebKit.md`: the inventory count sentence on line 59 (#13930, #13947, #15225, #15241, #15326, #15843, #16016), and for #13930 also lines 696-698 of the inventory table, where this branch removes the `WKProtectionSpaceCopyCertificateInfo` row and #13930 edits the rows next to it. Whichever lands second recounts that sentence. #13486 lists the 14 under Same exports, but its diff is three relinker files (`core/relinker/CMakeLists.txt`, `ImportModule.hpp`, `ImportModuleTests.cpp`), so that row did not come from its changes. - Linux and macOS were not built or run. No title was run. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!16316
No description provided.