Add comment about panel switching via input event

This commit is contained in:
Kevin Sawicki 2016-05-17 15:05:58 -07:00
parent 8d0c5c30b8
commit 13cfc2d2a0

View file

@ -836,6 +836,7 @@ describe('browser-window module', function () {
w.webContents.on('devtools-opened', function () {
var inputEventIntervalId = setInterval(function () {
if (w && w.devToolsWebContents) {
// Switch panels until the custom one is selected and loads
w.devToolsWebContents.sendInputEvent({
type: 'keyDown',
keyCode:'[',