Remove standard linter warnings

This commit is contained in:
Kevin Sawicki 2016-06-29 09:37:10 -07:00
parent 4afa32a7bb
commit 197ec98800
14 changed files with 87 additions and 94 deletions

View file

@ -235,10 +235,11 @@ describe('chromium feature', function () {
it('defines a window.location getter', function (done) {
var b, targetURL
if (process.platform == 'win32')
if (process.platform === 'win32') {
targetURL = 'file:///' + fixtures.replace(/\\/g, '/') + '/pages/base-page.html'
else
} else {
targetURL = 'file://' + fixtures + '/pages/base-page.html'
}
b = window.open(targetURL)
webContents.fromId(b.guestId).once('did-finish-load', function () {
assert.equal(b.location, targetURL)