Edit

Prerelease SDK 1.0.2415-prerelease, for Runtime 123 (Feb. 26, 2024)

Release notes for Microsoft Edge WebView2 Prerelease SDK, release date: Feb. 26, 2024.

NuGet package for WebView2 SDK 1.0.2415-prerelease

For full API compatibility, this Prerelease version of the WebView2 SDK requires the WebView2 Runtime that ships with Microsoft Edge version 123.0.2415.0 or later; see Runtime 123.0.2420.47 (Mar. 25, 2024).

Detailed contents:

Breaking changes

Behavior of InitiatingOrigin property for launching external URI scheme

The behavior of the InitiatingOrigin property of CoreWebView2LaunchingExternalUriSchemeEventArgs has changed. If the InitiatingOrigin is an opaque origin, the InitiatingOrigin that's reported in the event args is its precursor origin. The precursor origin is the origin that created the opaque origin. For example, if a frame that's at example.com opens a subframe that has a different opaque origin, the subframe's precursor origin is example.com.

Renamed members of TextureStreamErrorKind enum

The members of the CoreWebView2TextureStreamErrorKind enum have been renamed:

Old member names:

New member names:

Experimental APIs (Phase 1: Experimental in Prerelease)

The following Experimental APIs have been added in this Prerelease SDK.

Allow input event messages to pass through the browser window

The CoreWebView2ControllerOptions class now has an AllowHostInputProcessing property, which allows user input messages (keyboard, mouse, touch, and pen) to pass through the browser window to be received by an app process window.

Promotions to Phase 2 (Stable in Prerelease)

The following APIs have been promoted from Phase 1: Experimental in Prerelease, to Phase 2: Stable in Prerelease, and are included in this Prerelease SDK.

Hit-testing results on regions

Added a new API to provide hit-testing results on the regions that a WebView2 contains. This API is useful for visually hosted applications that want to handle mouse events on the non-client area of the WebView2 window.

Previous phase: Hit-testing results on regions in Prerelease SDK 1.0.2357-prerelease, for Runtime 122 (Jan. 30, 2024).

See also