SpecialJavaScriptTest: Do not accidentally pass parameters to QUnit.start()
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 27 Apr 2017 18:19:32 +0000 (20:19 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 27 Apr 2017 18:19:32 +0000 (20:19 +0200)
commit01d04fa014d73f5468ba80ef908b0331deaba662
treea9ee4bbb92682acbc5d827cb9920715af8615bd5
parent449aea52448d9080fea9aea706090cdc95c68f1a
SpecialJavaScriptTest: Do not accidentally pass parameters to QUnit.start()

If the mw.loader.using() call's promise is rejected, we end up
passing an Error object as the 'count' parameter to QUnit.start().
This seems to be harmless, but is very confusing when debugging.

Change-Id: I44caca5285dbced5a5876d9d7ff6236dbd3efc35
includes/specials/SpecialJavaScriptTest.php