diff --git a/lib/browser/guest-view-manager.js b/lib/browser/guest-view-manager.js index 7217d04615d1..500ed37bbbf0 100644 --- a/lib/browser/guest-view-manager.js +++ b/lib/browser/guest-view-manager.js @@ -18,6 +18,7 @@ const supportedWebViewEvents = [ 'did-get-redirect-request', 'dom-ready', 'console-message', + 'context-menu', 'devtools-opened', 'devtools-closed', 'devtools-focused', diff --git a/lib/renderer/web-view/guest-view-internal.js b/lib/renderer/web-view/guest-view-internal.js index f07ded2c3155..110b0e453afd 100644 --- a/lib/renderer/web-view/guest-view-internal.js +++ b/lib/renderer/web-view/guest-view-internal.js @@ -16,6 +16,7 @@ const WEB_VIEW_EVENTS = { 'did-get-redirect-request': ['oldURL', 'newURL', 'isMainFrame'], 'dom-ready': [], 'console-message': ['level', 'message', 'line', 'sourceId'], + 'context-menu': ['params'], 'devtools-opened': [], 'devtools-closed': [], 'devtools-focused': [],