Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Release notes for Microsoft Edge WebView2 Prerelease SDK, release date: Mar. 25, 2024.
NuGet package for WebView2 SDK 1.0.2470-prerelease
For full API compatibility, this Prerelease version of the WebView2 SDK requires WebView2 Runtime version 124.0.2470.0 or later; see Runtime 124.0.2478.35 (Apr. 22, 2024).
Detailed contents:
- Experimental APIs (Phase 1: Experimental in Prerelease)
- Promotions to Phase 2 (Stable in Prerelease)
- See also
Experimental APIs (Phase 1: Experimental in Prerelease)
The following Experimental APIs have been added in this Prerelease SDK.
Fluent Style Overlay Scrollbar
Support for the Fluent Style Overlay Scrollbar.
CoreWebView2EnvironmentOptionsClass:CoreWebView2ScrollbarStyle Enum
DefaultFluentOverlay
WebMessageObjects API: Inject DOM objects; file system handle
Updated the WebMessageObjects API to allow injecting DOM objects into WebView2 content that's constructed via the app and via the CoreWebView2.PostWebMessage API in the other direction.
Added a new web object type (CoreWebView2FileSystemHandle) to represent a file system handle that can be posted to the web content to provide it with file system access.
CoreWebView2Class:CoreWebView2EnvironmentClass:CoreWebView2FileSystemHandleClass:CoreWebView2FileSystemHandleKind Enum
FileDirectory
CoreWebView2FileSystemHandlePermission Enum
ReadOnlyReadWrite
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.
Runtime selection
Added the Runtime selection feature to support more prerelease testing and flighting scenarios. You can specify ReleaseChannels to choose which channels are searched for during environment creation, and ChannelSearchKind to select a search order.
Previous phase: Runtime selection in Prerelease SDK 1.0.2357-prerelease, for Runtime 122 (Jan. 30, 2024).
CoreWebView2EnvironmentOptionsClass:CoreWebView2ChannelSearchKind Enum
MostStableLeastStable
CoreWebView2ReleaseChannels Enum
NoneStableBetaDevCanary
FailureSourceModulePath property
Added the FailureSourceModulePath property to the ProcessFailedEventArgs type, to specify the full path of the module that caused the crash in cases of Windows code integrity failures - that is, when a process exited with STATUS_INVALID_IMAGE_HASH.
Previous phase: FailureSourceModulePath property in Prerelease SDK 1.0.2164-prerelease, for Runtime 120 (Oct. 18, 2023).
CoreWebView2ProcessFailedEventArgsClass: