Add comment about panel switching via input event
authorKevin Sawicki <kevinsawicki@gmail.com>
Tue, 17 May 2016 22:05:58 +0000 (15:05 -0700)
committerKevin Sawicki <kevinsawicki@gmail.com>
Tue, 17 May 2016 22:05:58 +0000 (15:05 -0700)
spec/api-browser-window-spec.js

index f698121..a70d4f7 100644 (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:'[',