mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Rename httpreferrer to httpReferrer, useragent to userAgent.
This commit is contained in:
@@ -782,8 +782,8 @@ Emitted when the WebContents is destroyed.
|
||||
|
||||
* `url` URL
|
||||
* `options` URL
|
||||
* `httpreferrer` String - A HTTP Referer url
|
||||
* `useragent` String - A user agent originating the request
|
||||
* `httpReferrer` String - A HTTP Referer url
|
||||
* `userAgent` String - A user agent originating the request
|
||||
|
||||
Loads the `url` in the window, the `url` must contains the protocol prefix,
|
||||
e.g. the `http://` or `file://`.
|
||||
|
||||
Reference in New Issue
Block a user