electron/remote

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

TanninOne opened this issue · 1 comments

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.

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