aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dom_tests
AgeCommit message (Collapse)Author
2014-11-02Force our key event handlers to have the highest possible prioritymrmr1993
* The `window` object receives key events before the `document` object, and so any event listeners on `window` get priority. This commit switches from binding `keydown`, `keypress`, `keyup` on `document` to on `window`. * We were using `event.stopPropagation()` to prevent other event listeners from firing if we had handled an event. This stopped the event from propagating to other elements/objects and triggering their event listeners, but didn't block event listeners registered on the same object as ours. Switching to `event.stopImmediatePropagation()` ensures that our event listener is the last to run for the event. Fixing these issues allows Vimium to regain control over key events in Google Groups (eg. the [vimium-dev group](https://groups.google.com/forum/vimium-dev)).
2014-08-12Merge pull request #922 from camflint/FixBuildAndTestTasksOnWindowsPhil Crosby
Fix build and test tasks on Windows
2014-08-12Add a TODO to tighten up the contract of some testsPhil Crosby
2014-08-05Match mixed-case relationship links in goNext/goPreviousVincent Bernat
Link types are case-insensitive: http://www.w3.org/TR/html5/links.html#linkTypes This should fix #1115.
2014-08-05Add a test for "link rel='next'" kind of link.Vincent Bernat
While this is not strictly valid, we don't put the link markup into `<head>` to avoid adding more code just for those two new tests.
2014-06-08Fix build and test on Windows.spccdt
2013-10-28Fixed detection of links which are only partially inside the viewportStanley Shyiko
2013-09-12Changed deprecated chrome.extension on chrome.runtime in all files and fix testsMaksim Ryzhikov
2013-05-09Add runtime.getManifest() stub to Chrome mocksainaen
2013-05-06Add onMessage() stub to Chrome extension API mocksainaen
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-29Make the numbers used in the filtered link hints configurable.Jez Ng
Closes #380.
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-23Refactor and fix findAndFollowLink. Closes #650.Jez Ng
* Fix bug where symbols that were themselves word boundaries were not getting matched * Factor out some operations for efficiency * Add tests
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-09Add JSCoverage support.Jez Ng
2012-09-08Merge branch 'next-release'Jez Ng
2012-09-08Fix formatting.Jez Ng
2012-09-08Set up PhantomJS testing.Jez Ng