Skip to content

Commit 4fc533e

Browse files
authored
Update NetWebView2Lib.au3
1 parent 51265ce commit 4fc533e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

NetWebView2Lib.au3

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ Global Enum _ ; $NETWEBVIEW2_MESSAGE__* are set by __NetWebView2_WebViewEvents__
3434
$NETWEBVIEW2_MESSAGE__SOURCE_CHANGED, _ ; #TODO https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/wpf#step-7---navigation-events
3535
$NETWEBVIEW2_MESSAGE__CONTENT_LOADING, _ ; #TODO https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/wpf#step-7---navigation-events
3636
$NETWEBVIEW2_MESSAGE__HISTORY_CHANGED, _ ; #TODO https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/wpf#step-7---navigation-events
37-
$NETWEBVIEW2_MESSAGE__COMPLETED, _
37+
$NETWEBVIEW2_MESSAGE__BASIC_AUTHENTICATION_REQUESTED, _ ; #TODO https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/navigation-events
38+
$NETWEBVIEW2_MESSAGE__DOM_CONTENT_LOADED, _ ; #TODO https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/navigation-events
39+
$NETWEBVIEW2_MESSAGE__NAVIGATION_COMPLETED, _
3840
$NETWEBVIEW2_MESSAGE__TITLE_CHANGED, _
3941
$NETWEBVIEW2_MESSAGE__NAV_ERROR, _
4042
$NETWEBVIEW2_MESSAGE__EXTENSION, _
@@ -693,7 +695,7 @@ Func __NetWebView2_WebViewEvents__OnMessageReceived($sMsg)
693695

694696
Case "NAV_COMPLETED"
695697
__NetWebView2_Log(@ScriptLineNumber, $s_Prefix & ' COMMAND:' & $sCommand, 1)
696-
__NetWebView2_LastMessageReceived($NETWEBVIEW2_MESSAGE__COMPLETED)
698+
__NetWebView2_LastMessageReceived($NETWEBVIEW2_MESSAGE__NAVIGATION_COMPLETED)
697699

698700
Case "TITLE_CHANGED"
699701
__NetWebView2_Log(@ScriptLineNumber, $s_Prefix & ' COMMAND:' & $sCommand, 1)

0 commit comments

Comments
 (0)