philc / vimium

The hacker's browser.

Home Page:https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typing "constructor " resets the search bar and creates undefined behavior.

sackidude opened this issue · comments

Bug
When I type constructor and then press space it completely clears the search bar. Then when delete is pressed you get "undefine" in the console, as you, presumably, deleted the "d" character.
It has to be typed with nothing in front of it.

To Reproduce
Steps to reproduce the behavior:

  1. Press the o-key, O-key or whatever you have bound to search in tab or new-tab.
  2. Type c-o-n-s-t-r-u-c-t-o-r-[space]
  3. Search bar gets cleared.
  4. Press [delete]-key.
  5. Shows "undefine" in searchbar.
  6. If you now for example press [enter] it searches "undefine" in the chosen search engine.

Screen recording of the bug

Desktop.2023.12.29.-.18.39.20.01.mp4

Browser and Vimium version

Firefox version: 121.0(64-bit)
Vimium version: 2.0.6
Windows version: Windows_NT 10.0 19045