fix(libSceWebBrowserDialog): permit termination from finished state in sceWebBrowserDialogTerminate #4509
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4509"
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 ErenYeager1836 on 2026-10-12T13:49:57Z.
What
Permit
sceWebBrowserDialogTerminateto terminate cleanly fromCOMMON_DIALOG_STATUS_FINISHED(3) in addition toCOMMON_DIALOG_STATUS_INITIALIZED(1), aligning withlibSceCdlgPlayerReviewand other common dialogs.Previously,
sceWebBrowserDialogTerminateonly accepted state 1 and threwstd::logic_errorif called after a dialog completed (sceWebBrowserDialogOpentransitions state toCOMMON_DIALOG_STATUS_FINISHED).Extended
GuestWebBrowserDialog.cppto cover:COMMON_DIALOG_STATUS_FINISHEDstate back toCOMMON_DIALOG_STATUS_NONE.sceWebBrowserDialogCloseandsceWebBrowserDialogGetResult.Tested
guest_web_browser_dialog_testspassed (ctest -R guest_web_browser_dialog-> 100% passed in 0.04 s).python tools/check_conventions.py --base upstream/mainpassed with 0 errors.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by overlordxrz-source on 2026-10-12T18:41:58Z.
Title confirmation: Nuvio PS5 (PPSA99997) hits this. On Linux (Ubuntu 24.04, lavapipe), main
b538b28d8+ #4470 renders and presents 4 frames, closes its browser session, then aborts withwhat(): sceWebBrowserDialogTerminate: not initialized or still running. With this PR added, it gets past that and runs for 120 s with no stop.AI-assisted: yes