sindresorhus/electron-context-menu

Error at <webview> using "save image"

Open

#98 aberto em 24 de fev. de 2020

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (167 forks)user submission
bughelp wanted

Métricas do repositório

Stars
 (1.471 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

contextMenu({ window:document.getElementById('webview'), showCopyImage:true, showSaveImageAs:true, showCopyImageAddress:true, })

Uncaught (in promise) TypeError: Cannot read property 'session' of undefined at index.js:138 at new Promise (<anonymous>) at module.exports../node_modules/electron-dl/index.js.module.exports.download (index.js:135) at click (index.js:109) at CallbacksRegistry.apply (callbacks-registry.ts:45) at remote.js:292 at EventEmitter.<anonymous> (remote.js:272) at EventEmitter.emit (events.js:210) at Object.onMessage (init.ts:50)

Electron verson 8.0.0

Guia do colaborador