]> khamidou — GitHub mirrors - electron.git/commitdiff
:memo: Add missing `useragent` doc.
authorHaojian Wu <hokein.wu@gmail.com>
Mon, 8 Jun 2015 06:29:30 +0000 (14:29 +0800)
committerHaojian Wu <hokein.wu@gmail.com>
Tue, 9 Jun 2015 02:10:28 +0000 (10:10 +0800)
docs/api/browser-window.md

index 67d31f27bd99e1695942e5f60b0ff566934d5ed1..768200dc5e402bffd586681184dd16196b792a78 100644 (file)
@@ -783,6 +783,7 @@ Emitted when the WebContents is destroyed.
 * `url` URL
 * `options` URL
   * `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://`.