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::BrowserContext* browser_context,
    const url::Origin& origin,
    bool is_for_isolated_world,
    network::mojom::URLLoaderFactoryParams* factory_params) {
  for (const auto& iter : process_preferences_) {
    if (iter.second.browser_context != browser_context)
      continue;
    if (!iter.second.web_security) {
      
      factory_params->process_id = iter.first;
      factory_params->is_corb_enabled = false;
    }
  }
  extensions::URLLoaderFactoryManager::OverrideURLLoaderFactoryParams(
      browser_context, origin, is_for_isolated_world, factory_params);
}
#if defined(OS_WIN)
bool ElectronBrowserClient::PreSpawnRenderer(sandbox::TargetPolicy* policy,