Select some options:
4.1. "Async": second async call to intialize the WebView2
4.2. "DT-Overlay": enable Developer Tools Overlay mode
4.3. "DT-Event": receive Overlay events
4.4. "WebMessage": run a JavaScript interval function and receive them
4.5 "Navigation": receive NagivationComplete events
Press "Start" Button
watch Debug/Diagnostic output
if DT-Overlay & DT-Event checked and clicking does not bring up a new output line, click "No DT-Event" button to have this logged
Description
receiving the inpectNodeRequested stops working after some time or it will crash.
Version SDK: 1.0.0 Runtime: WinRT.Runtime 1.3.0.0, Microsoft.Windows.SDK.NET 10.0.19041.21 Framework: WindowsAppSDK OS: Win11
Repro Steps
Sample VS2022 project in https://github.com/minesworld/WebView2Tests
Crash reports (copy & paste) in folder crashes
Build & Start WinUI3 project
Select some options: 4.1. "Async": second async call to intialize the WebView2 4.2. "DT-Overlay": enable Developer Tools Overlay mode 4.3. "DT-Event": receive Overlay events 4.4. "WebMessage": run a JavaScript interval function and receive them 4.5 "Navigation": receive NagivationComplete events
Press "Start" Button
watch Debug/Diagnostic output
if DT-Overlay & DT-Event checked and clicking does not bring up a new output line, click "No DT-Event" button to have this logged
do some clicks, wait, use another app, etc. . Crashes come unexpected, but it seems to depend on the website (my "favorite" for crashing: https://www.bundestag.de/abgeordnete/biografien )
Besides the crash:
Expeced Behaviour
Additional context filed also as https://github.com/microsoft/WindowsAppSDK/issues/1911
AB#37414485