mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add comment about panel switching via input event
This commit is contained in:
@@ -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:'[',
|
||||
|
||||
Reference in New Issue
Block a user