Fix issues raised through TestSwarm
authorKrinkle <krinkle@users.mediawiki.org>
Sun, 29 May 2011 04:11:10 +0000 (04:11 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Sun, 29 May 2011 04:11:10 +0000 (04:11 +0000)
commitc14869313d6cda2029681f64e18232e0a0b28c74
tree4c488966182060a0f8fdeb92d83fa2bb07020f82
parent9f4aada43d11026d1821dc09629f01c52142161f
Fix issues raised through TestSwarm
* Instead of delete window.foobar whitelist the global in QUnit.config.pollution
** the reason either is needed is to make QUnit's "noglobal" option useful)
** delete window.foo throws an "TypeError: Object doesn't support this action" in Internet Explorer.
-> http://perfectionkills.com/understanding-delete/
* Remove other globals introduced
resources/mediawiki/mediawiki.js
tests/qunit/suites/resources/mediawiki.util/mediawiki.util.js
tests/qunit/suites/resources/mediawiki/mediawiki.js