-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebView2 crash in combination with the print preview of PDF.js #3832
Comments
Is there any news on this? |
@fvanheeswijk I wasn't able to repro in both Stable 117 and Canary 119. Do you have crash dumps you can share? |
Not repro. |
@fabiorocha I don't understand why you cannot reproduce it, I just tried it again and it still reproduces. Just to be clear, I am putting this code inside a new Windows Forms project created with Visual Studio 2019 using .NET Framework 4.7.2. There I added a NuGet reference to Microsoft.Web.WebView2. Then I run this code with the defaults of Debug and Any CPU. Also, when opening the DevTools Console and executing
I do have a minidump to share, please find it here: c58623e0-f809-4345-a41f-395e116812cd.zip. |
Reopening issue based on new information |
Is there any news on this? |
Hi @fvanheeswijk, Thanks for your report. We confirmed a repro of this issue and made a fix. It should be available in latest Canary 121.0.2261.0. You can try it out by following these steps: Approaches to making your app use a specific browser channel. |
@lflores-ms The browser indeed does not crash anymore, that is good news! However the print preview does not load anymore in the Canary 121.0.2262.0 build, this seems to be a regression. |
Confirmed repro in Canary 122.0.2337.0 |
Unfortunately the print preview not loading issue has never been fixed so now it got into the beta runtime. I made a new issue about this: #4371. |
Thanks for the re-report @fvanheeswijk. |
Resolving this issue as the crash has been resolved and will track the loading problem separately in #4371 |
Description
The WebView2 browser crashes when a page showing a PDF via PDF.js gets closed while the print preview dialog is open.
Version
SDK: 1.0.2045.28
Runtime: Stable 117.0.2045.43
Framework: Windows Forms
OS: Windows 11 (Version 22H2, Build 22621.2283)
Regression
Was this working before but has regressed? Not as far as we know as this is new functionality from our side.
Repro Steps
This issue can be reproduced by following the steps below after running the example application available below.
AB#46815720
The text was updated successfully, but these errors were encountered: