### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/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 bug report that matches the one I want to file, without success.

### Electron Version

16.0.0;15.3.5

### What operating system are you using?

macOS

### Operating System Version

12.1

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

According v16.0.0 release notes: 
Changed Web Serial to use ses.setDevicePermissionHandler to allow developers more control over Web Serial permissioning. #31324 (Also in 15)

I expect ```navigator.serial.getPorts().then(ports=>console.log(ports))``` return all serial port without call ```navigator.serial.requestPort()``` after setDevicePermissionHandler grant the permissions.
 
```
    mainWindow.webContents.session.setPermissionCheckHandler((webContents, permission, requestingOrigin, details) => {
        return true;
    });
    mainWindow.webContents.session.setDevicePermissionHandler((details) => {
        return true;
    });
```

I expect ```navigator.serial.getPorts()``` worked like ```navigator.hid.getDevices()``` worked without call ```navigator.hid.requestDevice()```.

### Actual Behavior

```navigator.serial.getPorts().then(ports=>console.log(ports))``` return empty without call ```navigator.serial.requestPort()``` 

### Testcase Gist URL
https://gist.github.com/d9de1c981ef830835c0e05931dc5f8f4

_No response_

### Additional Information

_No response_
shell/browser/serial/serial_chooser_context.cc
SerialChooserContext::~SerialChooserContext() = default;
void SerialChooserContext::GrantPortPermission(
    const url::Origin& origin,
    const device::mojom::SerialPortInfo& port,
    content::RenderFrameHost* render_frame_host) {
  base::Value value = PortInfoToValue(port);
  port_info_.insert({port.token, value.Clone()});
  if (CanStorePersistentEntry(port)) {
    auto* web_contents =
        content::WebContents::FromRenderFrameHost(render_frame_host);
    auto* permission_helper =
        WebContentsPermissionHelper::FromWebContents(web_contents);
    permission_helper->GrantSerialPortPermission(origin, std::move(value),
                                                 render_frame_host);
    return;
  }
  ephemeral_ports_[origin].insert(port.token);
}
bool SerialChooserContext::HasPortPermission(