Uncaught Exception: TypeError: Cannot use 'in' operator to search for 'detach'
Closed this issue · 0 comments
audionerd commented
Steps:
- Be on Electron v2.0.0-beta.8
floss -p test.js -d
Expect:
- Should see window appear with Developer Tools open on the bottom
Actual
- Get an error dialog
The bug:
Line 73 in a35ee03
The fix:
mainWindow.webContents.openDevTools({ mode: 'bottom' });
Maybe the openDevTools
API changed slightly between Electron versions?
Will try to do a PR when I have more time to test a binary.