Skip to content
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

Crash when pressing F5, when dynamically the WebView2 instance is associated with ContentControl. #1011

Closed
chaitanyajun12 opened this issue Mar 1, 2021 · 3 comments
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@chaitanyajun12
Copy link

chaitanyajun12 commented Mar 1, 2021

Description
Facing the following crash,
image

Version
SDK: 1.0.705.50
Runtime: 88.0.705.74
Framework: WPF
OS: Win10

Repro Steps

  1. We dynamically create a WebView2 and inflate it onto WPF ContentControl.
  2. That point of time just before the WebView2 appended to ContentControl, if we keep doing refresh (F5), I am getting the above crash. How do we avoid this? This is happening inside the CoreWebView2Controller.

Screenshots

Additional context

AB#32071570

@chaitanyajun12 chaitanyajun12 added the bug Something isn't working label Mar 1, 2021
@champnic
Copy link
Member

champnic commented Mar 4, 2021

Hey @chaitanyajun12 - we recently made some fixes around this type of error. Can you see if you still repro using the 1.0.790-prerelease SDK package?

@champnic
Copy link
Member

Adding a bug on our backlog for this. Thanks!

@champnic champnic added tracked We are tracking this work internally. and removed tracked We are tracking this work internally. labels Mar 10, 2021
@champnic
Copy link
Member

champnic commented May 4, 2021

This is fixed in runtimes 91.0.853.0+. Thanks!

@champnic champnic closed this as completed May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

2 participants