test: move BrowserView specs to main process (#19409)

This commit is contained in:
Jeremy Apthorp 2019-07-24 08:44:24 -07:00 committed by Shelley Vohr
parent 358f4eebae
commit 9910507bc4
4 changed files with 43 additions and 52 deletions

View file

@ -1716,7 +1716,7 @@ removed in future Electron releases.
#### `win.setBrowserView(browserView)` _Experimental_
* `browserView` [BrowserView](browser-view.md) - Attach browserView to win.
* `browserView` [BrowserView](browser-view.md) | null - Attach browserView to win.
If there is some other browserViews was attached they will be removed from
this window.
@ -1737,8 +1737,8 @@ Replacement API for setBrowserView supporting work with multi browser views.
#### `win.getBrowserViews()` _Experimental_
Returns array of `BrowserView` what was an attached with addBrowserView
or setBrowserView.
Returns `BrowserView[]` - an array of all BrowserViews that have been attached
with `addBrowserView` or `setBrowserView`.
**Note:** The BrowserView API is currently experimental and may change or be
removed in future Electron releases.