docs: Put webContents.session under Properties

This commit is contained in:
Cheng Zhao 2015-11-19 21:48:45 +08:00
parent 611f87d17f
commit 1b464c82e1

View file

@ -225,12 +225,6 @@ The usage is the same with [the `login` event of `app`](app.md#event-login).
The `webContents` object has the following instance methods:
### `webContents.session`
Returns the `session` object used by this webContents.
See [session documentation](session.md) for this object's methods.
### `webContents.loadURL(url[, options])`
* `url` URL
@ -705,6 +699,10 @@ win.webContents.on('did-finish-load', function() {
`WebContents` objects also have the following properties:
### `webContents.session`
Returns the [session](session.md) object used by this webContents.
### `webContents.devToolsWebContents`
Get the `WebContents` of DevTools for this `WebContents`.