mediawiki-extensions-Popups/tests/qunit/ext.popups
joakin 36518b1215 Don't hide preview when user dwells on link
... after dwelling on preview.

Currently, the asynchronous PREVIEW_ABANDON_END action wouldn't be
ignored if the user were to have dwelled on the link that the preview is
about. The action is only ignored if the user is dwelling on the
preview, i.e. if preview.isUserDwelling is truthy.

Set preview.isUserDwelling to truthy if the user is dwelling either on
the link or on the preview.

Bug: T154923
Change-Id: I8e6989790da5884992ee9dda9e4895e2e58e6694
2017-01-10 17:43:55 -08:00
..
changeListeners Update the settings enabled radio with the enabled state 2016-12-16 10:29:34 +00:00
reducers Don't hide preview when user dwells on link 2017-01-10 17:43:55 -08:00
stubs Hygiene: Remove experiment-related code 2016-12-16 10:59:47 +00:00
actions.test.js actions: Add token to PREVIEW_ABANDON_** 2017-01-10 16:47:19 -08:00
changeListener.test.js Add footer link change listener 2016-11-16 15:20:34 +00:00
checkin.test.js Fix checkin tests to use fake timers 2017-01-10 09:31:32 -08:00
counts.test.js Include user's preview count in BOOT action 2016-12-12 13:01:44 +00:00
eventLoggingChangeListener.test.js Initial Popups logging implementation 2016-12-12 13:01:44 +00:00
gateway.test.js previews: Add generic fallback preview 2016-12-02 12:02:43 +00:00
integration.test.js Don't hide preview when user dwells on link 2017-01-10 17:43:55 -08:00
isEnabled.test.js Hygiene: Make mw.popups#isEnabled return boolean 2016-12-16 10:59:47 +00:00
pageVisibility.test.js Add reading depth 2016-12-21 15:08:20 -05:00
processLinks.test.js Hygiene: #processLinks Improve wording on tests 2016-11-30 17:01:54 +00:00
schema.test.js Initial Popups logging implementation 2016-12-12 13:01:44 +00:00
settingsDialog.test.js Update the settings enabled radio with the enabled state 2016-12-16 10:29:34 +00:00
userSettings.test.js Hygiene: Remove experiment-related code 2016-12-16 10:59:47 +00:00
wait.test.js Render previews 2016-11-24 18:07:03 +00:00