### 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

19.0.0-nightly.20220209

### What operating system are you using?

Windows

### Operating System Version

10.0.19043 Build 19043

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

1. Open DevTools->Settings->Shortcuts
2. Change "Match shortcuts from preset" to "Visual Studio Code"
3. Close devtools and reopen
4. Shortcut setting remains last selected value

### Actual Behavior

1. Open DevTools->Settings->Shortcuts
2. Change "Match shortcuts from preset" to "Visual Studio Code"
3. Close devtools and reopen
4. Shortcut setting reverts to default

### Testcase Gist URL

_No response_

### Additional Information

Seems like it could be related to #31864
shell/browser/ui/inspectable_web_contents.cc
if (!success && loader_->NetError() == net::ERR_INSUFFICIENT_RESOURCES &&
        retry_delay_ < kMaxBackoffDelay) {
      const base::TimeDelta delay =
          GetNextExponentialBackoffDelay(retry_delay_);
      LOG(WARNING) << "InspectableWebContents::NetworkResourceLoader id = "
                   << stream_id_
                   << " failed with insufficient resources, retrying in "
                   << delay << "." << std::endl;
      NetworkResourceLoader::Create(
          stream_id_, bindings_, resource_request_, traffic_annotation_,
          std::move(url_loader_factory_), std::move(callback_), delay);
    } else {
      base::DictionaryValue response;
      response.SetInteger("statusCode", response_headers_
                                            ? response_headers_->response_code()
                                            : net::HTTP_OK);
      auto headers = std::make_unique<base::DictionaryValue>();
      size_t iterator = 0;
      std::string name;
      std::string value;
      while (response_headers_ &&
             response_headers_->EnumerateHeaderLines(&iterator, &name, &value))
        headers->SetString(name, value);
      response.Set("headers", std::move(headers));
      std::move(callback_).Run(&response);
    }
    bindings_->loaders_.erase(bindings_->loaders_.find(this));
  }
  void OnRetry(base::OnceClosure start_retry) override {}