From c99af1b7d1d559e54a8849a617920f946ca9bd0b Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 3 Apr 2016 09:45:22 +0100 Subject: 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. --- tests/dom_tests/dom_tests.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3