Merge "RCFilters: Remove excluded params from URL"
[lhc/web/wiklou.git] / includes / specials / SpecialJavaScriptTest.php
index 6fbac8a..b786c86 100644 (file)
@@ -140,8 +140,14 @@ class SpecialJavaScriptTest extends SpecialPage {
        var start = window.__karma__ ? window.__karma__.start : QUnit.start;
        try {
                mw.loader.using( $modules )
-                       .always( start )
-                       .fail( function ( e ) { throw e; } );
+                       .always( function () {
+                               start();
+                       } )
+                       .fail( function ( e ) {
+                               setTimeout( function () {
+                                       throw e;
+                               } );
+                       } );
        } catch ( e ) {
                start();
                throw e;
@@ -193,15 +199,6 @@ HTML;
                echo $html;
        }
 
-       /**
-        * Return an array of subpages that this special page will accept.
-        *
-        * @return string[] subpages
-        */
-       public function getSubpagesForPrefixSearch() {
-               return self::$frameworks;
-       }
-
        protected function getGroupName() {
                return 'other';
        }