Microsoft Edge WebView2 發行前版本 SDK 的發行備註,發行日期:2023 年 7 月 24 日。
用於 WebView2 SDK 1.0.1988 發行前版本的 NuGet 套件
為了實現完整的 API 相容性,WebView2 SDK 的預發佈版本需要 Microsoft Edge 版本 117.0.1988.0 或更新版本隨附的 WebView2 執行階段;請參閱 執行階段 117.0.2045.28 (2023 年 9 月 18 日) 。
詳細內容:
階段 1 (實驗性 API: 發行前版本) 中的實驗性
下列實驗性 API 已新增至此發行前 SDK 中。
透過 WebView2 的桌面通知
透過 WebView2 支援桌面通知:
監視 iframe 的執行階段記憶體使用量
透過取得 iframe 的處理序資訊詳細資料,支援監視 iframe 的執行階段記憶體使用量。
-
CoreWebView2類別: -
CoreWebView2Environment類別: -
CoreWebView2Frame類別: -
CoreWebView2FrameInfo類別: -
CoreWebView2FrameKind 列舉
IframeMainFrameOther
-
CoreWebView2ProcessInfo類別:
支援 WebView2 中的瀏覽器擴充功能
支援 WebView2 中的瀏覽器擴充功能。
- CoreWebView2BrowserExtension 類別
-
CoreWebView2EnvironmentOptions類別: -
CoreWebView2Profile類別:
指定文字方向
列舉會將 TextDirectionKind 文字方向指定為從左到右或從右到左。
-
CoreWebView2TextDirectionKind 列舉
DefaultLeftToRightRightToLeft
Bug 修正
CoreWebView2Frame.ExecuteScriptAsync修正在指令碼執行期間損毀框架時所發生的停止回應。 問題 3124已修正在重新導向之後讀取內容時的
WebResourceResponseaCOMException。 問題 3229已修正包含中文字元時
PrinterName失敗的問題PrintAsync。 問題 3379修正當設定為 時
false,會停用列印頁面AreDefaultContextMenusEnabled中的操作功能表的問題。 問題 3548修正當列印設定為
null時導致PrintAsyncPrintToPdfStreamAsync並失敗的問題。已修正可確保可以從 UNC 路徑載入的問題
WebVivew2Loader。 問題 3465已修正無效
CoreWebView2PdfToolbarItems.FullScreen和CoreWebView2PdfToolbarItems.MoreSettings。修正 (
CoreWebView2PdfToolbarItems.MoreSettings、) 在CoreWebView2PdfToolbarItems.FullScreenPDF 預覽模式下無效的設定選項。 問題 3324