Fix allow_os_execution=true (fixes #2715, fixes #3851, fixes #3889)

When setting allow_os_execution=true in OnProtocolExecution the
confirmation dialog should display consistently, the load should
be canceled with ERR_ABORTED, and no interstitial error page
should be displayed.
This commit is contained in:
Marshall Greenblatt
2025-04-01 18:08:17 -04:00
parent 5b18ca7d3f
commit 70ea6f589f
6 changed files with 26 additions and 40 deletions

View File

@@ -240,11 +240,6 @@ class ClientHandler : public BaseClientHandler,
bool isLoading,
bool canGoBack,
bool canGoForward) override;
void OnLoadError(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
ErrorCode errorCode,
const CefString& errorText,
const CefString& failedUrl) override;
// CefPermissionHandler methods
bool OnRequestMediaAccessPermission(