- Electron version: 1.2.7
- Operating system: macOS 10.11.5

I'd like to add the option to copy an image directly from a context menu, but the only ways I can see to access the data are:

1) Redownload the image srcURL, resulting in an extra HTTP request and an undefined delay before the clipboard is updated
2) Use the DOM to add the image to a canvas element and pull the base64 out of that, which won't work for cross origin urls.

Could the image data be made available from the context menu, or else provide some other way to access it from an img tag in webcontents?

atom/browser/api/atom_api_web_contents.cc
return web_contents()->IsWaitingForResponse();
}
void WebContents::Stop() {
  web_contents()->Stop();
}
void WebContents::GoBack() {
  atom::AtomBrowserClient::SuppressRendererProcessRestartForOnce();
  web_contents()->GetController().GoBack();
}
void WebContents::GoForward() {
  atom::AtomBrowserClient::SuppressRendererProcessRestartForOnce();
  web_contents()->GetController().GoForward();
}
void WebContents::GoToOffset(int offset) {
  atom::AtomBrowserClient::SuppressRendererProcessRestartForOnce();
  web_contents()->GetController().GoToOffset(offset);
}
bool WebContents::IsCrashed() const {
  return web_contents()->IsCrashed();
}
void WebContents::SetUserAgent(const std::string& user_agent,
                               mate::Arguments* args) {
  web_contents()->SetUserAgentOverride(user_agent);
}
std::string WebContents::GetUserAgent() {
  return web_contents()->GetUserAgentOverride();
}
void WebContents::InsertCSS(const std::string& css) {