Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not show up 'alert()' or 'confirm()' window #5026

Open
1 task done
keibiin-okosuna opened this issue Jan 8, 2025 · 1 comment
Open
1 task done

Not show up 'alert()' or 'confirm()' window #5026

keibiin-okosuna opened this issue Jan 8, 2025 · 1 comment

Comments

@keibiin-okosuna
Copy link

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

131.3.50

Operating System

Windows 11

Architecture

x64

.Net Version

.Net Framework 4.8

Implementation

WinForms

Reproduction Steps

Just access any web pages which has a JavaScript popup and push the button which launches popup.

Expected behavior

Get a popup.

Actual behavior

Nothing happened.

Regression?

I guess the problem are from security update on "Chromium" for CVE-2024-7965.
Before CVE-2024-7965, there's no such problem.

Known Workarounds

On JsDialogHandler,

JsDialogHandler.OnJSDialog()
{
suppressMessage=false;
browser.ShowDevTools();
browser.CloseDevTools();
return false;
}
I get popup.

Does this problem also occur in the CEF Sample Application

Not Tested

Other information

Again, I guess the problem are from security update on "Chromium" for CVE-2024-7965.
Before CVE-2024-7965, there's no such problem.

@max3163
Copy link

max3163 commented Jan 8, 2025

Same problem here, the Workarounds is really weird ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants