Catch any close window errors

This commit is contained in:
Kevin Sawicki 2016-12-12 13:32:27 -08:00
parent cae601a682
commit 04da9257ef

View file

@ -133,6 +133,8 @@ describe('chromium feature', function () {
closeWindow(w).then(function () {
w = null
done()
}).catch(function (error) {
done(error)
})
} else {
ses.clearStorageData(options, function () {