### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Electron Version

13.1.3, but from what I could find this has never existed/worked

### What operating system are you using?

Other Linux

### Operating System Version

All

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

Keyboard events executed inside some kind of webContents frame should include the `.location` property to determine reliably where the key is located on the keyboard.
- [MDN docs for `event.location`](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/location)
- [Electron method in question](https://www.electronjs.org/docs/api/web-contents#event-before-input-event)

### Actual Behavior

There are a bunch of other properties of the event, some of which might be used in a hacky way to guess if the key is for example a numpad key or a right/left control key. None of these solve the issue of the missing location property of events, which is there exactly to no longer guess which position based on the name.

### Testcase Gist URL

_No response_

### Additional Information

_No response_
shell/common/gin_converters/blink_converter.cc
v8::Handle<v8::Value> val,
                     blink::WebMouseEvent::Button* out) {
    std::string button = base::ToLowerASCII(gin::V8ToString(isolate, val));
    if (button == "left")
      *out = blink::WebMouseEvent::Button::kLeft;
    else if (button == "middle")
      *out = blink::WebMouseEvent::Button::kMiddle;
    else if (button == "right")
      *out = blink::WebMouseEvent::Button::kRight;
    else
      return false;
    return true;
  }
};
template <>
struct Converter<blink::WebInputEvent::Modifiers> {
  static bool FromV8(v8::Isolate* isolate,
                     v8::Handle<v8::Value> val,
                     blink::WebInputEvent::Modifiers* out) {
    std::string modifier = base::ToLowerASCII(gin::V8ToString(isolate, val));
    if (modifier == "shift")
      *out = blink::WebInputEvent::Modifiers::kShiftKey;
    else if (modifier == "control" || modifier == "ctrl")
      *out = blink::WebInputEvent::Modifiers::kControlKey;
    else if (modifier == "alt")
      *out = blink::WebInputEvent::Modifiers::kAltKey;
    else if (modifier == "meta" || modifier == "command" || modifier == "cmd")