Use === in specs

This commit is contained in:
Kevin Sawicki 2016-12-19 16:27:38 -08:00 committed by Birunthan Mohanathas
parent 443040e8d7
commit b0ee46f862

View file

@ -930,7 +930,7 @@ describe('<webview> tag', function () {
if (webContents.getId() === webview.getId()) {
// requestMIDIAccess with sysex requests both midi and midiSysex so
// grant the first midi one and then reject the midiSysex one
if (requestedPermission == 'midiSysex' && permission == 'midi') {
if (requestedPermission === 'midiSysex' && permission === 'midi') {
return callback(true)
}