remote icon indicating copy to clipboard operation
remote copied to clipboard

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

Open TanninOne opened this issue 4 years ago • 2 comments
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.

TanninOne avatar Oct 05 '21 12:10 TanninOne

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

TanninOne avatar Oct 07 '21 13:10 TanninOne