mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-01 08:45:19 +08:00
Add webFrame.registerUrlSchemeAsSecure API
This commit is contained in:
@@ -53,4 +53,14 @@ require('web-frame').setSpellCheckProvider("en-US", true, {
|
||||
});
|
||||
```
|
||||
|
||||
## webFrame.registerUrlSchemeAsSecure(scheme)
|
||||
|
||||
* `scheme` String
|
||||
|
||||
Sets the `scheme` as secure scheme.
|
||||
|
||||
Secure schemes do not trigger mixed content warnings. For example, `https` and
|
||||
`data` are secure schemes because they cannot be corrupted by active network
|
||||
attackers.
|
||||
|
||||
[spellchecker]: https://github.com/atom/node-spellchecker
|
||||
|
||||
Reference in New Issue
Block a user