aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dom_tests/dom_tests.html
AgeCommit message (Collapse)Author
2017-10-27Move NormalMode to its own content scriptmrmr1993
2016-04-02Refactor DomUtils.documentReady.Stephen Blott
We do not need to install separate event listeners for every callback. Just install one listener and keep track of the callbacks ourself. This is clearer, and also determines the order in which callbacks are called. (Although, we don't rely on that currently.) This also adds a tests.
2016-03-21Rework visual mode.Stephen Blott
- Refactor the three visual-mode modes. - Use the key-handling framework from #2022. - Strip some legacy edit-mode code. - Rename the file (the old file name was misleading). - Add "aw" and "as", previously we had the code for this from edit mode.
2016-03-21Rename visual mode file.Stephen Blott
This previous file name was chosen when we (I) had the intention of implementing edit mode too. That initiative has been abandoned, so the file name is inappropriate. Renaming now in preparation for a significant refactoring of visual mode.
2016-03-05Key bindings; refactor passKeys.Stephen Blott
Previously, the key-handling logic (keyQueue, etc) was and the backend whereas passKeys were handled in the content scripts - so they were a long way apart. Now that they're in the same place, it makes more sense to integrate passKey handling into the regular key handling, because they depend upon the same data structures.
2016-03-05Key bindings; fix tests...Stephen Blott
... and fix two bugs: - not suppressing keyup event after keyChar matched in keydown. - we cannot check the passKeys keyChar in keyup because the key state has changed; so we track what the next keyup response should be.
2015-10-02Block keyboard events when a filtered hint matches.Stephen Blott
Previously, we blocked keyboard events for a fixed 200ms. With this PR, we continue blocking keyboard events until 150ms after the last `keydown` or `keypress` event. So, we wait until we think the user has stopped typing. Fixes #1842.
2015-06-10Guard against chrome being undefined in the HUD iframemrmr1993
2015-05-31Rewrite settings as a tight wrapper around Settings, tweaks for testsmrmr1993
2015-05-11Move the HUD to its own filemrmr1993
2015-02-11Fix error on yank/scroll.Stephen Blott
When we exit visual mode with "y"... "y" is a command for visual mode. Currently it clears the selection. Because it's executed as a command, scrollIntoView is called after running the command. Because the selection is cleared, scrollIntoView found nothing to scroll, and was creating an error. So we need to check whether there's anything to scroll into view, before trying to scroll it. Also fix mis-named file in the tests.
2015-01-06Modes; fix testsStephen Blott
2015-01-01Modes; incorporate three test modes.Stephen Blott
As a proof of concept, this incorporates normal mode, passkeys mode and insert mode.
2014-12-30Merge branch 'smblott-link-hints-overlap' into post-1.46Stephen Blott
2014-12-29Fix tests for UIComponent Vomnibar iframemrmr1993
2014-12-29Merge branch 'smblott-uicomponent-iframe' into post-1.46-with-uicomponent-iframeStephen Blott
Conflicts: content_scripts/vimium_frontend.coffee manifest.json
2014-12-28Fix tests for UIComponentmrmr1993
2014-12-18Move rect functions to their own filemrmr1993
2014-10-31Fix vomnibar/iframe tests.Stephen Blott
2014-10-31Add comments about moving the Vomnibar to an iframemrmr1993
2014-09-17Hacks to make Vomnibar tests work againmrmr1993
2012-10-29Move a bunch of stuff under pages/ for tidiness.Jez Ng
Also correct a bug with the show / hide advanced commands button.
2012-10-29Factor out scrolling code into a new file.Jez Ng
Also fix a bunch of div-scrolling behavior. Closes #486.
2012-10-29More tests, because I like having coverage.Jez Ng
2012-10-20Refactor handlerStack. Closes #657.Jez Ng
Previously, handlerStack was designed only for removal of the handler right at the top of the stack. However, some handlers sought to remove themselves when they were not at the top of the stack, creating confusion. The new handlerStack ensures that such removal can always be done safely.
2012-09-08Set up PhantomJS testing.Jez Ng