diff options
| author | Stephen Blott | 2015-01-19 05:39:24 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2015-01-20 06:50:08 +0000 | 
| commit | 97e61e29d59b9557fe1fb8d7ae1a34be1d47fcc1 (patch) | |
| tree | b989b02071fc736a798cf472287a8a1c40b7dfff /lib/dom_utils.coffee | |
| parent | 9fa664167b5aaf99069ba9298646a39853eeb067 (diff) | |
| download | vimium-97e61e29d59b9557fe1fb8d7ae1a34be1d47fcc1.tar.bz2 | |
Rework DOM tests.
- Set up modes such that they can be re-initialised.
- Move initialisation of BadgeMode to general initialisation function.
- Add reset() method for handlerStack.
- Consistently use  initializeModeState() in all tests' setup().
- Refactor focusInput tests.
- Add some more tests.
- Simplify some other tests.
Note: Clean-up of the inputFocus overlay now happens when the exit()
method is called in Mode.reset().  This eliminates most needs to
artificially bubble a keyboard event to clear the overlay.
Diffstat (limited to 'lib/dom_utils.coffee')
0 files changed, 0 insertions, 0 deletions
