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

LocalStorage reload failure #8243

Open
1 of 3 tasks
jssuttles opened this issue Dec 23, 2024 · 0 comments
Open
1 of 3 tasks

LocalStorage reload failure #8243

jssuttles opened this issue Dec 23, 2024 · 0 comments

Comments

@jssuttles
Copy link

Issue Type

Before opening an issue, please search and see if it has already been raised.

  • Bug Report

  • Feature Request

  • Successfully reproduced against the latest version of NW.js?

Current/Missing Behavior

When restarting using window.chrome.runtime.reload(), for applications under load, global.localStorage and global.window.localStorage are undefined and cannot be set. If you do a full stop and start of the application, then it works again.
I use const store = require('store');
This behavior did not seem to happen in 0.91.0.

Expected/Proposed Behavior

When restarting the application using window.chrome.runtime.reload(), global.localStorage and global.window.localStorage should be defined.

Additional Info

  • Operating System: Windows
  • NW.js Version: 0.93.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant