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
RegisterNonNetworkWorkerMainResourceURLLoaderFactories(
        content::BrowserContext* browser_context,
        NonNetworkURLLoaderFactoryMap* factories) {
  auto* protocol_registry =
      ProtocolRegistry::FromBrowserContext(browser_context);
  
  
  protocol_registry->RegisterURLLoaderFactories(factories,
                                                false );
}
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
namespace {
class FileURLLoaderFactory : public network::SelfDeletingURLLoaderFactory {