In JavaScript, I wrote data to localStorage from file:///D:/Path/window1.html.
I used a link to open a window file in the same domain - ///D:/Path/window2.html.
The localStorage data in window2 should be the same as window1, but it isn't. This works correctly in Chrome. Is there some workaround? This is Firefox 103.0.2
CodePudding user response:
This was previously reported and won't be fixed because that would create a security issue. It may not work in the future in other browsers. Serving the pages from a local server is suggested.