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

Fix #12137: Webview that not implements a WebviewPanelSerializer should not restore automatically after reconnecting. #12138

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

hyy215
Copy link
Contributor

@hyy215 hyy215 commented Feb 2, 2023

What it does

image
https://code.visualstudio.com/api/extension-guides/webview#serialization
Webview that implements a WebviewPanelSerializer will be inserted to webviewRevivers.
So it is not necessary to show the error message if the webview isn't present in the webviewRevivers after reconnecting.
Fixed #12137

How to test

Check that the bugs descriped in #12137 no longer occur.

Review checklist

Reminder for reviewers

…re automatically after reconnecting.

Signed-off-by: huangyanyan <hyy215215@163.com>
@vince-fugnitto vince-fugnitto added the webviews issues related to webviews label Feb 9, 2023
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes work well for me 👍 I would like the opinion of others however.

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me as well 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
webviews issues related to webviews
Projects
None yet
3 participants