As mentioned in bug 23985 comment 3 and on http://www.mediawiki.org/wiki/Thread:Manual_talk:JavaScript_unit_testing/QUnit_/_TestSwarm_environment,_Version_2, we should implement a way for extensions (and core maybe as well) to easily undo an addition.
Either by specific name (public function removeModules), and/or for all (public function resetModules/clearModules).
Version: 1.20.x
Severity: normal