feat(libSceNKWebKit): implement WKOpenPanelParameters getters #15159
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15159"
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 nicolasabosch on 2026-11-02T19:30:49Z.
What
Implements
WKOpenPanelParametersGetAllowsDirectories,GetAllowsMultipleFiles,CopyAcceptedMIMETypes,CopyAcceptedFileExtensionsandCopySelectedFileNamesinlibSceNKWebKit, following the pinned WKOpenPanelParametersRef.cpp and APIOpenPanelParameters.cpp. The copy functions return a newWKArrayof strings.WKOpenPanelParametersCopyAllowedMIMETypesstays a throwing stub because it needsMIMETypeRegistry::allowedMIMETypes, andWKOpenPanelParametersGetMediaCaptureTypebecause it depends on theENABLE(MEDIA_CAPTURE)build option, which the pinned source does not settle for this module.WKOpenPanelResultListeneris not touched.The
7439total on line 30 ofdocs/dev/debt/libSceNKWebKit.mdbecomes7434; the other openlibSceNKWebKitPRs edit the same line, so whichever merges second needs that number rebased.Tested
Windows, MinGW GCC Release build of
nkwebkit_base_tests: passes, including a new test of normal, empty, out-of-range, null and wrong-type inputs.python tools/check_conventions.py --base upstream/mainpasses.public_headershit its 90 s timeout on this machine and was not run onmain, so it is unconfirmed. No title 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)🤖 Generated with Claude Code