This test started failing: protocol module protocol.registerSchemesAsPrivileged allowServiceWorkers should be able to register service worker for custom scheme

with https://github.com/electron/electron/pull/32419.
shell/browser/electron_browser_client.cc
content::BrowserContext* browser_context,
    const GURL& url,
    content::RenderFrameHost* rfh) const {
  return nullptr;
}
bool ElectronBrowserClient::IsRendererSubFrame(int process_id) const {
  return base::Contains(renderer_is_subframe_, process_id);
}
void ElectronBrowserClient::RenderProcessWillLaunch(
    content::RenderProcessHost* host) {
  
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
  int process_id = host->GetID();
  auto* browser_context = host->GetBrowserContext();
  host->AddFilter(
      new extensions::ExtensionMessageFilter(process_id, browser_context));
  host->AddFilter(
      new ElectronExtensionMessageFilter(process_id, browser_context));
  host->AddFilter(
      new extensions::MessagingAPIMessageFilter(process_id, browser_context));
#endif
  
  host->AddObserver(this);
}
content::SpeechRecognitionManagerDelegate*