test: remove remote usage from chromium spec (#20568)
* test: move & expand webview -> window.open() opener tests * remove remaining usage of 'protocol' from chromium-spec.js * remove final usages of remote from chromium-spec * remove import of window-helpers
This commit is contained in:
parent
9055b5cf6d
commit
221ce70699
4 changed files with 414 additions and 455 deletions
|
|
@ -42,10 +42,3 @@ exports.closeWindow = async (window = null,
|
|||
expect(windows).to.have.lengthOf(1)
|
||||
}
|
||||
}
|
||||
|
||||
exports.waitForWebContentsToLoad = async (webContents) => {
|
||||
const didFinishLoadPromise = emittedOnce(webContents, 'did-finish-load')
|
||||
if (webContents.isLoadingMainFrame()) {
|
||||
await didFinishLoadPromise
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue