Skip to content

How to properly persist WebView state at exit? #4963

Answered by abisar
CrendKing asked this question in Q&A
Discussion options

You must be logged in to vote

If you're handling the state from javascript and it has nothing to do with rust, simply handle it only on javasscript side:
https://tauri.app/v1/api/js/classes/window.webviewwindow/#oncloserequested

What's wrong is that I always get an error message in the console:

https://bugs.chromium.org/p/chromium/issues/detail?id=113008
I wouldn't worry about it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FabianLars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants