remote
remote copied to clipboard
session.cookies.get returns Promise that never resolves/rejects
trafficstars
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.