Catch any close window errors
This commit is contained in:
parent
cae601a682
commit
04da9257ef
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ describe('chromium feature', function () {
|
||||||
closeWindow(w).then(function () {
|
closeWindow(w).then(function () {
|
||||||
w = null
|
w = null
|
||||||
done()
|
done()
|
||||||
|
}).catch(function (error) {
|
||||||
|
done(error)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
ses.clearStorageData(options, function () {
|
ses.clearStorageData(options, function () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue