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

session.cookies.get returns Promise that never resolves/rejects #84

Open
TanninOne opened this issue Oct 5, 2021 · 1 comment
Open

Comments

@TanninOne
Copy link

With Electron 15.1.0 and @electron/remote 2.0.1
calling this from the renderer process:
require('@electron/remote').getCurrentWebContents().session.cookies.get({})
returns a promise (as expected based on the api reference) that never resolves or rejects.

In the browser process the corresponding call works, so it's not an electron problem.

@TanninOne
Copy link
Author

The same seems to happen with require('@electron/remote').dialog.showOpenDialog(), the returned promise never resolves.

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