OS: `windows 10`
Electron: `9.2.0` `9.1.2` `9.0.0` `8.5.0` `7.3.0`

Main process code:
```javascript
const mainWindow = new BrowserWindow({
  width: 800,
  height: 600,
  webPreferences: {
    nodeIntegration: true,
    webSecurity:false
  }
})
let view1 = new BrowserView({
    webPreferences: {
      nodeIntegration: true,
      devTools: true,
      webSecurity: false,
    },
  });
mainWindow.setBrowserView(view1);
let size = mainWindow.getSize();
view1.setBounds({
  x: 0,
  y: 0,
  width: size[0],
  height: size[1],
});
view1.setAutoResize({
  width: true,
  height: true,
});
view1.webContents.loadFile(`index.html`)
view1.webContents.openDevTools({ mode: "undocked" })
let view2 = new BrowserView({
  webPreferences: {
    nodeIntegration: true,
    devTools: true,
    webSecurity: false,
  },
});
view2.webContents.loadFile(`index.html`);
```

Renderer process code
```javascript
//HTML
// <input id="fileInput" type="file" />
postFile = (data)=> {
  let _url = 'https://******.com/upload'
  return fetch(_url, {
    method: 'POST',
    body: data,
  }).then(response => response.json())
    .catch(error => {
      console.error(error)
    })
}
let fileInput = document.getElementById("fileInput")
fileInput.addEventListener('change', function() {
  var file = fileInput.files[0];
  let formData = new FormData()
  formData.append('filetype', 'image')
  formData.append('file', file)
  postFile(formData);
});
```
Error:

> POST https://******.com/upload net::ERR_ACCESS_DENIED

Description:
When add `await` before `view1.webContents.loadFile`,the renderer process will work correctly.
shell/browser/electron_browser_client.cc
content::RenderProcessHost* host) {
  int process_id = host->GetID();
  pending_processes_.erase(process_id);
  renderer_is_subframe_.erase(process_id);
  RemoveProcessPreferences(process_id);
}
void ElectronBrowserClient::RenderProcessReady(
    content::RenderProcessHost* host) {
  render_process_host_pids_[host->GetID()] =
      base::GetProcId(host->GetProcess().Handle());
  if (delegate_) {
    static_cast<api::App*>(delegate_)->RenderProcessReady(host);
  }
}
void ElectronBrowserClient::RenderProcessExited(
    content::RenderProcessHost* host,
    const content::ChildProcessTerminationInfo& info) {
  auto host_pid = render_process_host_pids_.find(host->GetID());
  if (host_pid != render_process_host_pids_.end()) {
    if (delegate_) {
      static_cast<api::App*>(delegate_)->RenderProcessDisconnected(
          host_pid->second);
    }
    render_process_host_pids_.erase(host_pid);
  }
}
void OnOpenExternal(const GURL& escaped_url, bool allowed) {