- Electron version: 1.4.0
- Operating system: OS X 10.10.5

I've been using the following code to send Tab key events to a webview in my project:

``` js
const webContents = webView.getWebContents();
const keyEvent = {
  type: 'keyDown',
  keyCode: 'Tab'
};

webContents.sendInputEvent(keyEvent);
```

I have had no issues with this until the recent update to 1.4.0.

The last version the above code works in OS X is **1.3.7**. I've tried this with the latest versions of Electron (1.4.1 & 1.4.2) with the same results.

Am I doing something wrong here? Is this a known issue?

atom/common/keyboard_util.cc
return ui::VKEY_SPACE;
  } else if (str == "backspace") {
    return ui::VKEY_BACK;
  } else if (str == "delete") {
    return ui::VKEY_DELETE;
  } else if (str == "insert") {
    return ui::VKEY_INSERT;
  } else if (str == "enter" || str == "return") {
    return ui::VKEY_RETURN;
  } else if (str == "up") {
    return ui::VKEY_UP;
  } else if (str == "down") {
    return ui::VKEY_DOWN;
  } else if (str == "left") {
    return ui::VKEY_LEFT;
  } else if (str == "right") {
    return ui::VKEY_RIGHT;
  } else if (str == "home") {
    return ui::VKEY_HOME;
  } else if (str == "end") {
    return ui::VKEY_END;
  } else if (str == "pageup") {
    return ui::VKEY_PRIOR;
  } else if (str == "pagedown") {
    return ui::VKEY_NEXT;
  } else if (str == "esc" || str == "escape") {
    return ui::VKEY_ESCAPE;
  } else if (str == "volumemute") {
    return ui::VKEY_VOLUME_MUTE;
  } else if (str == "volumeup") {