Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Release notes for Microsoft Edge WebView2 Prerelease SDK, release date: Jun. 12, 2023.
NuGet package for WebView2 SDK 1.0.1905-prerelease
For full API compatibility, this Prerelease version of the WebView2 SDK requires the WebView2 Runtime that ships with Microsoft Edge version 116.0.1905.0 or later; see Runtime 116.0.1938.49 (Aug. 28, 2023).
Detailed contents:
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.
NavigationKind: Back/Forward, Reload, or navigation to a new page
NavigationKind gets the navigation kind of each navigation, such as Back/Forward, Reload, or navigation to a new document.
The previous phase isn't in the release notes.
CoreWebView2NavigationStartingEventArgsClass:- CoreWebView2NavigationKind Enum
ServiceWorkers in BrowsingDataKinds enum
The ServiceWorkers enum value in the BrowsingDataKinds enum specifies service workers that are registered for an origin.
The previous phase isn't in the release notes.
CoreWebView2BrowsingDataKindsEnum:
LaunchingExternalUriScheme event when launch URI scheme registered with the OS
Added support for launching external URIs. The LaunchingExternalUriScheme event is raised when there's an attempt to launch a URI scheme that is registered with the OS (an external URI scheme).
Previous phase: LaunchingExternalUriScheme event when launch a URI scheme that's registered with the OS in Prerelease SDK 1.0.1724-prerelease, for Runtime 113 (Mar. 20, 2023).
CoreWebView2Class:- CoreWebView2LaunchingExternalUriSchemeEventArgs Class
- CoreWebView2LaunchingExternalUriSchemeEventArgs.Cancel Property
- CoreWebView2LaunchingExternalUriSchemeEventArgs.InitiatingOrigin Property
- CoreWebView2LaunchingExternalUriSchemeEventArgs.IsUserInitiated Property
- CoreWebView2LaunchingExternalUriSchemeEventArgs.Uri Property
- CoreWebView2LaunchingExternalUriSchemeEventArgs.GetDeferral Method
MemoryUsageTargetLevel specifies memory consumption levels
MemoryUsageTargetLevel specifies memory consumption levels, such as low or normal.
The previous phase isn't in the release notes.
CoreWebView2Class:- CoreWebView2MemoryUsageTargetLevel Enum
Bug fixes
Using
wv2winrt webhosthiddenentered an infinite loop when enumerating somewebhosthiddentypes.In code that's generated by the wv2winrt tool, when calling an async method, it would crash if it succeeded but returned
nullinstead of anIAsyncAction.