https://bugzilla.wikimedia.org/show_bug.cgi?id=44488

--- Comment #2 from sp...@wikimedia.org ---
attachment 11696 (http://bug-attachment.wikimedia.org/attachment.cgi?id=11696,
key code below) is just some JavaScript, you can add it to any module. It
passes JSHint without warnings

Thanks for the explanation. I thought QUnit ran the test modules you add to
$testModules['qunit'] in response to the ResourceLoaderTestModules hook.  If
you give it a RL module that didn't load, surely *someone* should complain?


    function failsInIE()
    {
        var myArr = [ 42, 666 ];
        if ( myArr.indexOf( 666 ) === -1 ) {
            return false;
        }
    }       

    function failsEverywhere()
    {   
        return window.badTypo(); 
    }       

    // Could call it always, could call it sometimes...
    failsInIE();
    failsEverywhere();

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to