aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)Author
2015-04-24Get incognto state directly from chrome.extensions.inIncognitoContextmrmr1993
2015-04-18Mode indicator: strip all references to badges.Stephen Blott
2015-04-12Add failing test case.Utkarsh Upadhyay
2015-03-29Move the search-engine logic out of settings.coffee.Stephen Blott
This logic should never have been in settings.coffee. This moves it to completion.coffee, where it belongs.
2015-03-08Reload content scripts: document why changes are needed in tests.Stephen Blott
2015-03-07Reload content scripts after install/update.Stephen Blott
This is @mrmr1993's work from #1041. Reload content scripts when vimium is installed or updates. (@mrmr1993: The automatic merge was really messy (or, at least, I couldn't figure out what was going on). Since the bulk of #1041 was actually quite compact, I took the liberty of just copying it in. Hope you don't mind.)
2015-03-06Merge branch 'fix-focus-html5-inputs'Stephen Blott
2015-02-23Ensure inconito mode flag and find-mode-history are initialised.Stephen Blott
See #1495.
2015-02-18Add a test for link hints on HTML5 input typesmrmr1993
2015-02-12Grab back focus...Stephen Blott
- add new option "GrabBackFocus" - use chrome.storage.sync.get() to get option value - avoid race conditions on load - fix tests
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-02-09Include get and remove in test chrome stub for chrome.storage.localStephen Blott
2015-01-20Rework focus input so it can be better included in tests.Stephen Blott
focusInput was getting its focus events from the handler stack. When the handler stack was reset during tests, we lost focusInput's handler. So we couldn't test the feature whereby focusInput has a memory (#1438). Instead, here focusInput adds its listener directly to the window, and we add the approriate test.
2015-01-20Rebase.Stephen Blott
2015-01-20Rework DOM tests (clean up).Stephen Blott
2015-01-20Rework DOM tests (integrate keyboard-event handling).Stephen Blott
This uses phantomjs to generate keyboard events. So the events are propagated through the regular event listeners. So we're testing the full keyboard-event flow.
2015-01-20Rework DOM tests.Stephen Blott
- 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.
2015-01-18Give focusInput a memory (fix typo).Stephen Blott
2015-01-18Merge branch 'master' into focus-input-with-memoryStephen Blott
2015-01-18Minor clean-up of the tests.Stephen Blott
Nicer syntax. And we don't need those braces.
2015-01-18Give focusInput a memory; add tests.Stephen Blott
2015-01-17Modes; yet more tweaks...Stephen Blott
- Mainly comments. - Rename chooseBadge to updateBadge (for consistency). - No badge for passkeys; also fix tests.
2015-01-16Modes; tweaks.Stephen Blott
2015-01-15Modes; match test to reality.Stephen Blott
2015-01-15Modes; yet more teaks and fiddles.Stephen Blott
2015-01-14Modes; fix tests.Stephen Blott
2015-01-11Modes; yet more tweaks, yet more tests.Stephen Blott
2015-01-11Modes; tweaks, including more tests.Stephen Blott
2015-01-11Modes; tweek tests.Stephen Blott
2015-01-11Modes; add DOM tests.Stephen Blott
2015-01-11Modes; add DOM tests.Stephen Blott
2015-01-06Modes; fix testsStephen Blott
2015-01-01Modes; minor changes.Stephen 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 'search-engine-descriptions' of ↵Stephen Blott
https://github.com/smblott-github/vimium into smblott-github-search-engine-descriptions
2014-12-30Merge branch 'smblott-link-hints-overlap' into post-1.46Stephen Blott
2014-12-30Merge branch 'master' into post-1.46Stephen Blott
2014-12-30Merge branch 'passkeys---union-of-rules' of ↵Stephen Blott
https://github.com/smblott-github/vimium into smblott-github-passkeys---union-of-rules
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-29Descriptions for custom search engines.Stephen Blott
2014-12-29Refactor UIComponent, etc., and demo.Stephen Blott
- Simplify component API. - Iframe flashes on re-focus. - Probably some other stuff which I've forgotten.
2014-12-28Fix tests for UIComponentmrmr1993
2014-12-28Consistent treatment of search terms; fix tests.Stephen Blott
2014-12-21Exclusion; fix tests.Stephen Blott
2014-12-18Add tests for lib/rectmrmr1993
2014-12-18Move rect functions to their own filemrmr1993
2014-12-17Stop ignoring clickable opacity: none; elementsmrmr1993
Some websites (notably Facebook) use `opacity: none;` to show an image in the place of a less-customisable element (eg. an `<input type="file" />`). To not show link hints for such transparent elements is confusing and often the wrong thing to do.
2014-12-14Merge branch 'disable-on-disable' of https://github.com/mrmr1993/vimium into ↵Stephen Blott
mrmr1993-disable-on-disable
2014-12-14Merge branch 'vomnibarToPage' of https://github.com/smblott-github/vimium ↵Stephen Blott
into smblott-github-vomnibarToPage Conflicts: background_scripts/main.coffee content_scripts/vimium.css content_scripts/vomnibar.coffee lib/utils.coffee