<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
<!-- Is your feature request related to a problem? Please add a clear and concise description of what the problem is. -->
My electron version is 6.1.11, and I can't update because visibleOnFullScreen option on setVisibleOnAllWorkspaces is deprecated. It works fine on mac 10.15.4 and newer version.
To code like this:

  app.dock.hide()
  window.setAlwaysOnTop(true, 'floating')
  window.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true })

The visibleOnFullScreen option is very important to my electron app and I'm so appreciate if you can check this feature again!

shell/browser/api/electron_api_base_window.cc
: weak_factory_(this) {
  
  gin::Handle<BaseWindow> parent;
  if (options.Get("parent", &parent) && !parent.IsEmpty())
    parent_window_.Reset(isolate, parent.ToV8());
#if BUILDFLAG(ENABLE_OSR)
  
  gin_helper::Dictionary web_preferences;
  bool offscreen;
  if (options.Get(options::kWebPreferences, &web_preferences) &&
      web_preferences.Get(options::kOffscreen, &offscreen) && offscreen) {
    const_cast<gin_helper::Dictionary&>(options).Set(options::kFrame, false);
  }
#endif
  
  window_.reset(NativeWindow::Create(
      options, parent.IsEmpty() ? nullptr : parent->window_.get()));
  window_->AddObserver(this);
#if defined(TOOLKIT_VIEWS)
  {
    v8::TryCatch try_catch(isolate);
    gin::Handle<NativeImage> icon;
    if (options.Get(options::kIcon, &icon) && !icon.IsEmpty())
      SetIcon(icon);
    if (try_catch.HasCaught())
      LOG(ERROR) << "Failed to convert NativeImage";
  }
#endif
}
BaseWindow::BaseWindow(gin_helper::Arguments* args,