Open Beasta opened 5 years ago
browser: Brave Version 0.67.125 Chromium: 76.0.3809.100 (Official Build) (64-bit)
Does it frequently happen? If not, then this is not a serious bug, This error only affects some commands like o when in VisualMode.
BTW, the snapshot is useful but it can not give all information, so I can not reproduce this case.
BTW i'm not sure what caused the crash. it happened multiple times and I did not recognized the crash until after it happened.
IMO any bug that causes a crash is a serious bug
Reproduces for me at 2.1.2:
Source map error: Error: request failed with status 404
Resource URL: https://sfz.tools/assets/js/bootstrap.min.js
Source Map URL: bootstrap.min.js.map
All search scripts loaded, building Lunr index... worker.js:60:11
Lunr index built, search ready worker.js:88:13
IndexSizeError: Selection.getRangeAt: 0 is out of range mode_visual.js:112
reverseSelection moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/mode_visual.js:112
extendSelection moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/mode_visual.js:527
extendSelection moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/mode_visual.js:530
init moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/mode_visual.js:486
enterVisualLineMode moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/mode_normal.js:194
commandHandler moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/mode_normal.js:62
handleKeyChar moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/mode_key_handler.js:140
onKeydown moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/mode_key_handler.js:75
bubbleEvent moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/lib/handler_stack.js:61
installListeners moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/vimium_frontend.js:299
installListener moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/vimium_frontend.js:281
forTrusted moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/lib/utils.js:6
(Async: EventListener.handleEvent)
installListener moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/vimium_frontend.js:272
installListeners moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/vimium_frontend.js:299
makeIdempotent moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/lib/utils.js:212
initializePreDomReady moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/vimium_frontend.js:198
<anonymous> moz-extension://629d6ed5-5c5c-4869-beea-8e9b6f83551c/content_scripts/vimium_frontend.js:465
inject resource://gre/modules/ExtensionContent.sys.mjs:581
AsyncFunctionNext self-hosted:852
Error: Uncaught IndexSizeError: Failed to execute 'getRangeAt' on 'Selection': 0 is not a valid index.
Context: https://etherscan.io/token/0x8853b05833029e3cf8d3cbb592f9784fa43d2a79#inventory
Stack Trace: content_scripts/mode_visual.js:138 (anonymous function)