Consistent docs for LoadURLOptions.httpReferrer

This commit is contained in:
Charles Kerr 2018-05-11 12:18:38 -05:00
parent 2c87dfef8a
commit cf6d36cb72
2 changed files with 2 additions and 2 deletions

View file

@ -1150,7 +1150,7 @@ Same as `webContents.capturePage([rect, ]callback)`.
* `url` String * `url` String
* `options` Object (optional) * `options` Object (optional)
* `httpReferrer` String (optional) - An HTTP Referrer url. * `httpReferrer` (String | [Referrer](structures/referrer.md)) (optional) - An HTTP Referrer url.
* `userAgent` String (optional) - A user agent originating the request. * `userAgent` String (optional) - A user agent originating the request.
* `extraHeaders` String (optional) - Extra headers separated by "\n" * `extraHeaders` String (optional) - Extra headers separated by "\n"
* `postData` ([UploadRawData[]](structures/upload-raw-data.md) | [UploadFile[]](structures/upload-file.md) | [UploadFileSystem[]](structures/upload-file-system.md) | [UploadBlob[]](structures/upload-blob.md)) (optional) * `postData` ([UploadRawData[]](structures/upload-raw-data.md) | [UploadFile[]](structures/upload-file.md) | [UploadFileSystem[]](structures/upload-file-system.md) | [UploadBlob[]](structures/upload-blob.md)) (optional)

View file

@ -306,7 +306,7 @@ webview.addEventListener('dom-ready', () => {
* `url` URL * `url` URL
* `options` Object (optional) * `options` Object (optional)
* `httpReferrer` String (optional) - An HTTP Referrer url. * `httpReferrer` (String | [Referrer](structures/referrer.md)) (optional) - An HTTP Referrer url.
* `userAgent` String (optional) - A user agent originating the request. * `userAgent` String (optional) - A user agent originating the request.
* `extraHeaders` String (optional) - Extra headers separated by "\n" * `extraHeaders` String (optional) - Extra headers separated by "\n"
* `postData` ([UploadRawData[]](structures/upload-raw-data.md) | [UploadFile[]](structures/upload-file.md) | [UploadFileSystem[]](structures/upload-file-system.md) | [UploadBlob[]](structures/upload-blob.md)) (optional) - * `postData` ([UploadRawData[]](structures/upload-raw-data.md) | [UploadFile[]](structures/upload-file.md) | [UploadFileSystem[]](structures/upload-file-system.md) | [UploadBlob[]](structures/upload-blob.md)) (optional) -