Hello folks,

Doing a right click on a flash object opens up a context menu as expected, but clicking on the entries has no effect. Can't change quality of a flash game for example.

It works fine in v1.7.x.
The attached .zip contains the newest pepper based flash plugin, a main.js and a package.json that might help you reproduce the issue.


System:
Win7 x64
Electron v1.8.x
Pepper Flash Plugin v26.0.0.151 x64
[flash-context-menu.zip](https://github.com/electron/electron/files/1285786/flash-context-menu.zip)

atom/browser/api/atom_api_web_contents.cc
if (owner_window)
      SetOwnerWindow(owner_window);
  }
  Init(isolate);
  AttachAsUserData(web_contents);
}
WebContents::~WebContents() {
  
  if (managed_web_contents()) {
    
    
    if (type_ == WEB_VIEW)
      guest_delegate_->Destroy();
    RenderViewDeleted(web_contents()->GetRenderViewHost());
    if (type_ == WEB_VIEW) {
      DestroyWebContents(false );
    } else {
      if (type_ == BROWSER_WINDOW && owner_window()) {
        owner_window()->CloseContents(nullptr);
      } else {
        DestroyWebContents(true );
      }
      
      
      
      WebContentsDestroyed();
    }
  }
}
void WebContents::DestroyWebContents(bool async) {