Skip to content

Chromium Browser opens up #5067

Description

@RawHut

Is there an existing issue for this?

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

CefSharp Version

133.0.6943.127 (Official Build) (64-bit)

Operating System

Windows 11

Architecture

x64

.Net Version

Net4.7.2

Implementation

WinForms

Reproduction Steps

Reproducible Steps:

Visit the Chrome Web Store online.
Click the "Add to Chrome" button.
A standard Chrome-style dialog box appears, asking for confirmation to add the extension.
Once confirmed, a new process (Chromium) starts with its light blue logo.
A complete browser session launches with the new extension installed.

Expected behavior

Expected Behavior:
The extension should load using a designated directory located in the user's local application data folder. The application combines the local application data path with the "Hyper X/Extensions" folder and adds this path to the command-line arguments with the "load-extension" option. However, after the extension is added, it appears that the CRX file is being deleted.

string extensionsDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Hyper X", "Extensions"); settings.CefCommandLineArgs.Add("load-extension", extensionsDir);

Actual behavior

Image

Actual Behavior:
After clicking the "Add to Chrome" button and confirming the installation, a new Chromium-based browser process launches with a light blue logo. This is unexpected, as the extension should load within the current process rather than starting a new instance of Chromium. Additionally, the CRX file is deleted, which prevents the extension from functioning as intended. Extra pice of info : I am auto downloading file via downloadhandler because it rediretcs to download the extension file when clicked on add extension

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamThese issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions