src/aria/ext/StressCss.js
function (cfg, callback) {
        if (cfg.allSelectors.length > 0) {
            var selector = cfg.allSelectors.splice(0, 1)[0];
            var one = {
                name : selector.name,
                cfg : cfg,
                selector : selector,
                callback : {
                    fn : allTests,
                    scope : this,
                    args : [cfg, callback]
                }
            };

            runTest(one);
        } else {
            logResults(cfg.incremental);
            aria.ext.StressCss.__callback(callback);
        }
    }
function (cfg, callback) {
        if (cfg.allSelectors.length > 0) {
            var selector = cfg.allSelectors.splice(0, 1)[0];
            var one = {
                name : selector.name,
                cfg : cfg,
                selector : selector,
                callback : {
                    fn : allTests,
                    scope : this,
                    args : [cfg, callback]
                }
            };

            runTest(one);
        } else {
            logResults(cfg.incremental);
            aria.ext.StressCss.__callback(callback);
        }
    }
function ( cfg , callback ) { if ( cfg . allSelectors . length > 0 ) { var selector = cfg . allSelectors . splice ( 0 , 1 ) [ 0 ] ; var one = { name : selector . name , cfg : cfg , selector : selector , callback : { fn : allTests , scope : this , args : [ cfg , callback ] } } ; runTest ( one ) ; } else { logResults ( cfg . incremental ) ; aria . ext . StressCss . __callback ( callback ) ; } }
Run the tests on all selectors in the page, removing them one by one and comparing with the baselines
@param {Object} cfg User defined configuration parameters
@param {Object} callback Function to be executed after this measure.
Run the tests on all selectors in the page removing them one by one and comparing with the baselines