Merge pull request #7708 from tinydew4/fix-typo
Fix typo, and trimming.
This commit is contained in:
commit
a2a44621fd
3 changed files with 4 additions and 5 deletions
|
@ -286,7 +286,6 @@ which sends a new HTTP request as a response.
|
||||||
* `completion` Function (optional)
|
* `completion` Function (optional)
|
||||||
* `error` Error
|
* `error` Error
|
||||||
|
|
||||||
|
|
||||||
Remove the interceptor installed for `scheme` and restore its original handler.
|
Remove the interceptor installed for `scheme` and restore its original handler.
|
||||||
|
|
||||||
[net-error]: https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h
|
[net-error]: https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h
|
||||||
|
|
|
@ -535,9 +535,9 @@ The following methods are available on instances of `WebRequest`:
|
||||||
The `listener` will be called with `listener(details, callback)` when a request
|
The `listener` will be called with `listener(details, callback)` when a request
|
||||||
is about to occur.
|
is about to occur.
|
||||||
|
|
||||||
The `uploadData` is an array of `UploadData` objects:
|
The `uploadData` is an array of `UploadData` objects.
|
||||||
|
|
||||||
The `callback` has to be called with an `response` object:
|
The `callback` has to be called with an `response` object.
|
||||||
|
|
||||||
#### `webRequest.onBeforeSendHeaders([filter, ]listener)`
|
#### `webRequest.onBeforeSendHeaders([filter, ]listener)`
|
||||||
|
|
||||||
|
@ -561,7 +561,7 @@ TCP connection is made to the server, but before any http data is sent.
|
||||||
* `requestHeaders` Object (optional) - When provided, request will be made
|
* `requestHeaders` Object (optional) - When provided, request will be made
|
||||||
with these headers.
|
with these headers.
|
||||||
|
|
||||||
The `callback` has to be called with an `response` object:
|
The `callback` has to be called with an `response` object.
|
||||||
|
|
||||||
#### `webRequest.onSendHeaders([filter, ]listener)`
|
#### `webRequest.onSendHeaders([filter, ]listener)`
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
title.
|
title.
|
||||||
* `thumbnail` [NativeImage](../native-image.md) - A thumbnail image. **Note:**
|
* `thumbnail` [NativeImage](../native-image.md) - A thumbnail image. **Note:**
|
||||||
There is no guarantee that the size of the thumbnail is the same as the
|
There is no guarantee that the size of the thumbnail is the same as the
|
||||||
`thumnbailSize` specified in the `options` passed to
|
`thumbnailSize` specified in the `options` passed to
|
||||||
`desktopCapturer.getSources`. The actual size depends on the scale of the
|
`desktopCapturer.getSources`. The actual size depends on the scale of the
|
||||||
screen or window.
|
screen or window.
|
||||||
|
|
Loading…
Reference in a new issue