Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring back SchemeRegistry::RegisterURLSchemeAsCORSEnabled()
Removed in https://crrev.com/c/530888 and https://crrev.com/c/584663. It is used by Electron to implement API method `webFrame.registerURLSchemeAsPrivileged()` [1]. `corsEnabled` option of this method defaults to `true` and removing it without having an alternative way to mark a certain URL scheme as CORS enabled would break some application that use Electron. It would be great if Chromium could keep `RegisterURLSchemeAsCORSEnabled()` method to make Electron's maintainers and users life a little bit easier. [1] https://electron.atom.io/docs/api/web-frame/#webframeregisterurlschemeasprivilegedscheme-options R=mkwst@chromium.org, tyoshino@chromium.org Bug: Change-Id: Ifc548df6472db45111e8c32fe9efea4a50baa2a0 Reviewed-on: https://chromium-review.googlesource.com/768808 Commit-Queue: Takeshi Yoshino <tyoshino@chromium.org> Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#519055}
- Loading branch information