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
merged 2 commits into from Oct 24, 2016

Conversation

Projects
None yet
3 participants
@pfrazee
Contributor

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.
@zcbenz

This comment has been minimized.

Show comment
Hide comment
@zcbenz

zcbenz Oct 24, 2016

Contributor

👍

Contributor

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
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment