webframe: api to register scheme as privileged
This commit is contained in:
parent
01a3bf5881
commit
325feca864
3 changed files with 21 additions and 1 deletions
|
@ -83,4 +83,11 @@ attackers.
|
|||
Resources will be loaded from this `scheme` regardless of the current page's
|
||||
Content Security Policy.
|
||||
|
||||
### `webFrame.registerUrlSchemeAsPrivileged(scheme)`
|
||||
|
||||
* `scheme` String
|
||||
|
||||
Registers the `scheme` as secure, bypasses content security policy for resources and
|
||||
allows registering ServiceWorker.
|
||||
|
||||
[spellchecker]: https://github.com/atom/node-spellchecker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue