Use === in specs
This commit is contained in:
parent
443040e8d7
commit
b0ee46f862
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue