Skip to content

Commit 6cb067e

Browse files
authored
Update UpdateRuntime.md
1 parent e41d57f commit 6cb067e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

specs/UpdateRuntime.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ See [API Details](#api-details) section below for API reference.
131131
132132
/// Edge WebView2 Runtime update is already running, which could be
133133
/// triggered by auto update or by other UpdateRuntime request from some app.
134-
COREWEBVIEW2_UPDATE_RUNTIME_STATUS_INSTALL_ALREADY_RUNNING,
134+
COREWEBVIEW2_UPDATE_RUNTIME_STATUS_UPDATE_ALREADY_RUNNING,
135135
136136
/// Edge WebView2 Runtime update is blocked by group policy.
137137
COREWEBVIEW2_UPDATE_RUNTIME_STATUS_BLOCKED_BY_POLICY,
@@ -203,7 +203,9 @@ interface ICoreWebView2ExperimentalEnvironment3 : IUnknown {
203203
/// Edge update service can only support one update request at a time globally.
204204
/// If there is already an update operation running in the Edge update service,
205205
// UpdateRuntime request will result in the completed handler being invoked with a
206-
/// result that has `Status` of `COREWEBVIEW2_UPDATE_RUNTIME_STATUS_INSTALL_ALREADY_RUNNING`.
206+
/// result that has `Status` of `COREWEBVIEW2_UPDATE_RUNTIME_STATUS_UPDATE_ALREADY_RUNNING`.
207+
/// As the running update could succeed or fail, the app should retry later if
208+
/// `NewBrowserVersionAvailable` event has not been raised.
207209
/// The UpdateRuntime operation is associated with the CoreWebView2Environment
208210
/// object and any ongoing UpdateRuntime operation will be aborted when the
209211
/// associated CoreWebView2Environment along with the CoreWebView2 objects that
@@ -224,7 +226,7 @@ namespace Microsoft.Web.WebView2.Core
224226
public enum CoreWebView2UpdateRuntimeStatus
225227
{
226228
LatestVersionInstalled = 0,
227-
InstallAlreadyRunning = 1,
229+
UpdateAlreadyRunning = 1,
228230
BlockedByPolicy = 2,
229231
Failed = 3,
230232
}
@@ -254,7 +256,7 @@ namespace Microsoft.Web.WebView2.Core
254256
public enum CoreWebView2UpdateRuntimeStatus
255257
{
256258
LatestVersionInstalled = 0,
257-
InstallAlreadyRunning = 1,
259+
UpdateAlreadyRunning = 1,
258260
BlockedByPolicy = 2,
259261
Failed = 3,
260262
}

0 commit comments

Comments
 (0)