|
4 | 4 | #AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7 |
5 | 5 | #Au3Stripper_Ignore_Funcs=__NetWebView2_Events__*,__NetWebView2_JSEvents__* |
6 | 6 |
|
7 | | -; NetWebView2Lib.au3 - Script Version: 2026.2.12.4 🚩 |
| 7 | +; NetWebView2Lib.au3 - Script Version: 2026.2.12.5 🚩 |
8 | 8 |
|
9 | 9 | #include <Array.au3> |
10 | 10 | #include <GUIConstantsEx.au3> |
@@ -1137,7 +1137,6 @@ Volatile Func __NetWebView2_Events__OnMessageReceived($oWebV2M, $hGUI, $sMsg) |
1137 | 1137 | Local Const $s_Prefix = "[NetWebView2Lib:EVENT: OnMessageReceived]: GUI:" & $hGUI |
1138 | 1138 |
|
1139 | 1139 | #Region ; Message parsing |
1140 | | -;~ Local $iSplitPos = StringSplit($sMsg, "|") |
1141 | 1140 | Local $iSplitPos = StringInStr($sMsg, "|") |
1142 | 1141 | Local $sCommand = $iSplitPos ? StringStripWS(StringLeft($sMsg, $iSplitPos - 1), 3) : $sMsg |
1143 | 1142 | Local $sData = $iSplitPos ? StringTrimLeft($sMsg, $iSplitPos) : "" |
@@ -1291,7 +1290,7 @@ Volatile Func __NetWebView2_Events__OnMessageReceived($oWebV2M, $hGUI, $sMsg) |
1291 | 1290 | __NetWebView2_LastMessageReceived($oWebV2M, $NETWEBVIEW2_MESSAGE__DOWNLOAD_STARTING) |
1292 | 1291 |
|
1293 | 1292 | Case "ERROR" |
1294 | | - __NetWebView2_Log(@ScriptLineNumber, $s_Prefix & ' ! CRITICAL ERROR:' & StringTrimLeft($sMsg, 6), 1) ; trim "ERROR|" |
| 1293 | + __NetWebView2_Log(@ScriptLineNumber, $s_Prefix & ' ! CRITICAL ERROR:' & $sData, 1) |
1295 | 1294 | __NetWebView2_LastMessageReceived($oWebV2M, $NETWEBVIEW2_MESSAGE__CRITICAL_ERROR) |
1296 | 1295 |
|
1297 | 1296 | Case Else |
@@ -1530,3 +1529,4 @@ EndFunc ;==>__NetWebView2_Events__OnAcceleratorKeyPressed |
1530 | 1529 |
|
1531 | 1530 |
|
1532 | 1531 |
|
| 1532 | + |
0 commit comments