This is some legacy code probably added to fix an issue which seems to no longer exist. See https://searchfox.org/mozilla-central/rev/2455e4d6388cbdeadb44b9633b971a65a98b504c/devtools/client/debugger/src/components/Editor/index.js#472-487. One effect of this is that we need to hit Esc twice to open the split console, when focused in the debugger. But we should only have to hit esc once. ### STR - Open any source in the debugger - Click in the editor at any position - Press Esc #### Expected Result Open the split console #### Actual Result Nothing Happens (Needs a second escape)
Bug 1913693 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This is some legacy code probably added to fix an issue which seems to no longer exist. See https://searchfox.org/mozilla-central/rev/2455e4d6388cbdeadb44b9633b971a65a98b504c/devtools/client/debugger/src/components/Editor/index.js#472-487. One effect of this is that we need to hit Esc twice to open the split console, when focused in the debugger. But we should only have to hit esc once. ### STR - Open any source in the debugger - Click in the editor at any position - Press Esc #### Expected Result The split console should open #### Actual Result Nothing happens (Needs a second escape to open the split console)