New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to webFrame.registerURLSchemeAsPrivileged #7665

merged 2 commits into from Oct 24, 2016


None yet
3 participants

pfrazee commented Oct 18, 2016

Closes #7430

Adds an options argument for choosing which features to register:

### `webFrame.registerURLSchemeAsPrivileged(scheme[, options])`

* `scheme` String
* `options` Object (optional)
  * `secure` Default true.
  * `bypassCSP` Default true.
  * `allowServiceWorkers` Default true.
  * `supportFetchAPI` Default true.
  * `corsEnabled` Default true.

This comment has been minimized.

Show comment
Hide comment

zcbenz Oct 24, 2016




zcbenz commented Oct 24, 2016


@zcbenz zcbenz merged commit ad48aee into electron:master Oct 24, 2016

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
continuous-integration/appveyor/pr AppVeyor build succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment