- Electron version: 1.2.7
- Operating system: Win10 64bit

browser process

``` javascript
win.webContents.on('context-menu', (event, params) => {
  // It prints "hasImageContent: undefined" no matter where you right click on the page
  console.log(`hasImageContent: ${ params.hasImageContent }`);
});
```

index.html body

``` html
  <body>
    <textarea name="name" rows="8" cols="40">
      Hello world.
      Second line.
    </textarea>
    <img src="https://bearychat.com/e655795080a2258b3bc7476cf6b519ab.png"/>
  </body>
```

atom/common/native_mate_converters/content_converter.cc
v8::Isolate* isolate,
    v8::Local<v8::Value> val,
    blink::mojom::PermissionStatus* out) {
  bool result;
  if (!ConvertFromV8(isolate, val, &result))
    return false;
  if (result)
    *out = blink::mojom::PermissionStatus::GRANTED;
  else
    *out = blink::mojom::PermissionStatus::DENIED;
  return true;
}
v8::Local<v8::Value> Converter<content::PermissionType>::ToV8(