MicrosoftEdge / MicrosoftEdge/WebView2Feedback
WinAppSDK: Webview2 crash when console message event raises at N times
Open
@champnic is already working on this.
Since Sep 21, 2023.
bug
tracked
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Originally opened by @khoabui1412 here: https://github.com/microsoft/microsoft-ui-xaml/issues/8421
Repro Steps
Register an event:
CoreWebView2.GetDevToolsProtocolEventReceiver("Runtime.consoleAPICalled").DevToolsProtocolEventReceived += CoreWebView2_consoleAPICalled;
CoreWebView2.CallDevToolsProtocolMethodAsync("Runtime.enable", "{}");
when CoreWebView2_consoleAPICalled is received at N times, webview is crashed with "Access violation":
NuGet package version
WinUI 3 - Windows App SDK 1.2.5: 1.2.230313.1
Windows version
Windows 11 (22H2): Build 22621
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.