### 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
return false;
  absl::optional<char16_t> shifted_char;
  ui::KeyboardCode keyCode = electron::KeyboardCodeFromStr(str, &shifted_char);
  out->windows_key_code = keyCode;
  if (shifted_char)
    out->SetModifiers(out->GetModifiers() |
                      blink::WebInputEvent::Modifiers::kShiftKey);
  ui::DomCode domCode = ui::UsLayoutKeyboardCodeToDomCode(keyCode);
  out->dom_code = static_cast<int>(domCode);
  ui::DomKey domKey;
  ui::KeyboardCode dummy_code;
  int flags = ui::WebEventModifiersToEventFlags(out->GetModifiers());
  if (ui::DomCodeToUsLayoutDomKey(domCode, flags, &domKey, &dummy_code))
    out->dom_key = static_cast<int>(domKey);
  if ((out->GetType() == blink::WebInputEvent::Type::kChar ||
       out->GetType() == blink::WebInputEvent::Type::kRawKeyDown)) {
    
    
    size_t text_length_cap = blink::WebKeyboardEvent::kTextLengthCap;
    std::u16string text16 = base::UTF8ToUTF16(str);
    std::fill_n(out->text, text_length_cap, 0);
    std::fill_n(out->unmodified_text, text_length_cap, 0);
    for (size_t i = 0; i < std::min(text_length_cap - 1, text16.size()); ++i) {
      out->text[i] = text16[i];
      out->unmodified_text[i] = text16[i];
    }
  }
  return true;
}
bool Converter<blink::WebMouseEvent>::FromV8(v8::Isolate* isolate,