diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index ab2d6c7b1149..a6dfe1d65876 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -1150,7 +1150,7 @@ Same as `webContents.capturePage([rect, ]callback)`. * `url` String * `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. * `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) diff --git a/docs/api/webview-tag.md b/docs/api/webview-tag.md index 2bbfc0ce590a..1d991ff2e697 100644 --- a/docs/api/webview-tag.md +++ b/docs/api/webview-tag.md @@ -306,7 +306,7 @@ webview.addEventListener('dom-ready', () => { * `url` URL * `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. * `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) -