standardize more
This commit is contained in:
parent
9db733a4ff
commit
5e4696f4a7
6 changed files with 23 additions and 19 deletions
|
@ -1,3 +1,5 @@
|
|||
/* globals WebView */
|
||||
|
||||
const assert = require('assert')
|
||||
const http = require('http')
|
||||
const path = require('path')
|
||||
|
@ -231,7 +233,7 @@ describe('session module', function () {
|
|||
downloadServer.listen(0, '127.0.0.1', function () {
|
||||
var port = downloadServer.address().port
|
||||
ipcRenderer.sendSync('set-download-option', false, false)
|
||||
var webview = new WebView
|
||||
var webview = new WebView()
|
||||
webview.src = 'file://' + fixtures + '/api/blank.html'
|
||||
webview.addEventListener('did-finish-load', function () {
|
||||
webview.downloadURL(url + ':' + port + '/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue