mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
d74b4dce4f
jQuery 1.9 changes how $.focus() calls are handled: instead of directly calling the handlers, it just invokes the DOM element's focus(), and leaves it to the browser's event handling to trigger them. This can fail for several reasons (e.g. element is not attached to document, element is already focused, browser bugs such as http://bugs.jquery.com/ticket/13363 ), so we are using triggerHandler('focus') instead, which calls the handlers directly without simulating actual browser events. Since these are unit tests verifying event handler attach/unattach behavior, not acceptance tests verifying actual event handling behavior, that should be okay. Change-Id: I65ecda28ace4f380ad33d6212e12069e18001232 |
||
---|---|---|
.. | ||
mmv.ui.canvas.test.js | ||
mmv.ui.canvasButtons.test.js | ||
mmv.ui.categories.test.js | ||
mmv.ui.description.test.js | ||
mmv.ui.fileUsage.test.js | ||
mmv.ui.metadataPanel.test.js | ||
mmv.ui.metadataPanelScroller.test.js | ||
mmv.ui.permission.test.js | ||
mmv.ui.progressBar.test.js | ||
mmv.ui.reuse.dialog.test.js | ||
mmv.ui.reuse.download.test.js | ||
mmv.ui.reuse.embed.test.js | ||
mmv.ui.reuse.share.test.js | ||
mmv.ui.reuse.tab.test.js | ||
mmv.ui.reuse.utils.test.js | ||
mmv.ui.stripeButtons.test.js | ||
mmv.ui.test.js | ||
mmv.ui.truncatableTextField.test.js |