From: Cheng Zhao Date: Thu, 19 Nov 2015 13:48:45 +0000 (+0800) Subject: docs: Put webContents.session under Properties X-Git-Tag: v0.35.1~6^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=1b464c82e1e99dce6d95f0ac302d601c8e268b3d;p=electron.git docs: Put webContents.session under Properties --- diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 2b2efb7d..a716bdc5 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -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`.