aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
diff options
context:
space:
mode:
authorgdh19952016-12-23 01:51:09 +0800
committergdh19952017-01-03 16:45:19 +0800
commit48c169bd5a61685bb4e67b1e76c939dbf360a658 (patch)
tree867fbe81fcee1d4b74cd9319f52c62862fc4d850 /content_scripts/vimium_frontend.coffee
parentb12ed93d0b96df90511d3331e8a5f54e7b1b7da4 (diff)
downloadvimium-48c169bd5a61685bb4e67b1e76c939dbf360a658.tar.bz2
InsertMode should not handle key events if document.body is editable
For example, the host JavaScript may create an "about:blank" iframe with a `content-editable` `body`, and then: * the parent frame may handle `Escape` key events by itself * but now, Vimium always grabs `Escape` events * and tries to exit `InsertMode` * although `document.body` is still current `activeElement` after `body.blur()` * as a result, neither the parent can receive and handle wanted keyevents, nor Vimium will succeed in returing back to NormalMode
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
0 files changed, 0 insertions, 0 deletions