Added some tests to the mediawiki.base.test.js suite, testing behavior of mw.hooks on: * Unmatching number of arguments between the handler and the fired event. * Memory with information of the alst fired event is not cleared when "consumed". * Testing chained add.remove.fire sequence works synchronously, the handler is removed before the event is fired. Bug: T223352 Change-Id: I64ec326374c9ac69491bd95e55203f247bd12e3c |
||
|---|---|---|
| .. | ||
| data | ||
| suites/resources | ||
| .eslintrc.json | ||
| .htaccess | ||
| QUnitTestResources.php | ||