Propose fix some typos (#11905)
This commit is contained in:
parent
546bd6da5e
commit
8d55334016
9 changed files with 11 additions and 11 deletions
|
@ -194,7 +194,7 @@ Returns:
|
|||
[`NSUserActivity.activityType`][activity-type].
|
||||
* `userInfo` Object - Contains app-specific state stored by the activity.
|
||||
|
||||
Emitted when [Handoff][handoff] is about to be resumed on another device. If you need to update the state to be transferred, you should call `event.preventDefault()` immediatelly, construct a new `userInfo` dictionary and call `app.updateCurrentActiviy()` in a timely manner. Otherwise the operation will fail and `continue-activity-error` will be called.
|
||||
Emitted when [Handoff][handoff] is about to be resumed on another device. If you need to update the state to be transferred, you should call `event.preventDefault()` immediately, construct a new `userInfo` dictionary and call `app.updateCurrentActiviy()` in a timely manner. Otherwise the operation will fail and `continue-activity-error` will be called.
|
||||
|
||||
### Event: 'new-window-for-tab' _macOS_
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ feature. We are still not aware of the security implications of exposing some
|
|||
electron renderer APIs to the preload script, but here are some things to
|
||||
consider before rendering untrusted content:
|
||||
|
||||
- A preload script can accidentaly leak privileged APIs to untrusted code.
|
||||
- A preload script can accidentally leak privileged APIs to untrusted code.
|
||||
- Some bug in V8 engine may allow malicious code to access the renderer preload
|
||||
APIs, effectively granting full access to the system through the `remote`
|
||||
module.
|
||||
|
|
|
@ -187,7 +187,7 @@ The `proxyBypassRules` is a comma separated list of rules described below:
|
|||
Examples:
|
||||
"127.0.1", "[0:0::1]", "[::1]", "http://[::1]:99"
|
||||
|
||||
* `IP_LITERAL "/" PREFIX_LENGHT_IN_BITS`
|
||||
* `IP_LITERAL "/" PREFIX_LENGTH_IN_BITS`
|
||||
|
||||
Match any URL that is to an IP literal that falls between the
|
||||
given range. IP range is specified using CIDR notation.
|
||||
|
@ -319,7 +319,7 @@ Clears the host resolver cache.
|
|||
|
||||
#### `ses.allowNTLMCredentialsForDomains(domains)`
|
||||
|
||||
* `domains` String - A comma-seperated list of servers for which
|
||||
* `domains` String - A comma-separated list of servers for which
|
||||
integrated authentication is enabled.
|
||||
|
||||
Dynamically sets whether to always send credentials for HTTP NTLM or Negotiate
|
||||
|
|
|
@ -1112,7 +1112,7 @@ with native view, which developers have very limited control of. With the
|
|||
the devtools in it, including `BrowserWindow`, `BrowserView` and `<webview>`
|
||||
tag.
|
||||
|
||||
Note that closing the devtools does not destory the `devToolsWebContents`, it
|
||||
Note that closing the devtools does not destroy the `devToolsWebContents`, it
|
||||
is caller's responsibility to destroy `devToolsWebContents`.
|
||||
|
||||
An example of showing devtools in a `<webview>` tag:
|
||||
|
|
|
@ -225,7 +225,7 @@ and intend to stay there).
|
|||
|
||||
* `capacity` Integer
|
||||
|
||||
Attemp to set the capacity of resource cache for the renderer process in bytes
|
||||
Attempt to set the capacity of resource cache for the renderer process in bytes
|
||||
|
||||
Note if current cached resource size is larger than newly specified capacity, Electron
|
||||
will schedule to prune cached resources until it reaches below new capacity.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue