tauri-apps / tauri

Build smaller, faster, and more secure desktop applications with a web frontend.
https://tauri.app
Apache License 2.0
78.1k stars 2.31k forks source link

How to isolate the localStorage between different windows?[feat] #9694

Closed muwoo closed 1 week ago

muwoo commented 1 week ago

Describe the problem

Tauri windows cannot control isolation of localStorage like browser tabs do with different domain names. Currently, Tauri windows are loaded in the same domain, such as through:

https://tauri.localhost/

which prevents isolation of localStorage.

Describe the solution you'd like

I am not sure if there is a solution or any other means to achieve this.

Alternatives considered

No response

Additional context

No response