aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-04-03 09:45:22 +0100
committerStephen Blott2016-04-04 06:15:52 +0100
commitc99af1b7d1d559e54a8849a617920f946ca9bd0b (patch)
treec3300a865ff8c4d3352632977685f09ce4c848b1 /tests
parent7bdbebf7b50c305c01152c02e9bebf6aa00b3f87 (diff)
downloadvimium-c99af1b7d1d559e54a8849a617920f946ca9bd0b.tar.bz2
Handle requireHref for link hints locally.
The check that an element as an href (for certain hint modes) can be done earlier, thereby avoid the need to pass that information between frames.
Diffstat (limited to 'tests')
-rw-r--r--tests/dom_tests/dom_tests.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee
index ccb84fe0..3977d046 100644
--- a/tests/dom_tests/dom_tests.coffee
+++ b/tests/dom_tests/dom_tests.coffee
@@ -64,7 +64,7 @@ getHintMarkers = ->
stubSettings = (key, value) -> stub Settings.cache, key, JSON.stringify value
HintCoordinator.sendMessage = (name, request = {}) -> HintCoordinator[name]? request; request
-activateLinkHintsMode = -> HintCoordinator.activateMode HintCoordinator.getHintDescriptors()
+activateLinkHintsMode = -> HintCoordinator.activateMode HintCoordinator.getHintDescriptors {modeIndex: 0}
#
# Generate tests that are common to both default and filtered