Fix passing `WebContents` to the `window` option by kondoumh · Pull Request #141 · sindresorhus/electron-context-menu

This is a fix that allows you to specify WebContents for the window option of the contextMenu. I want to receive a WebView dom-ready event from the renderer process and set WebContents in the main ...