mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
webframe: api to register scheme as privileged
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user