Skip to content

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

@keibiin-okosuna

Description

@keibiin-okosuna

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions