src/js/Audit.js
function(auditRuleName, severity) {
        if (!(auditRuleName in this.rules_))
            this.rules_[auditRuleName] = {};
        this.rules_[auditRuleName].severity = severity;
    }
function(auditRuleName, severity) {
        if (!(auditRuleName in this.rules_))
            this.rules_[auditRuleName] = {};
        this.rules_[auditRuleName].severity = severity;
    }
function ( auditRuleName , severity ) { if ( ! ( auditRuleName in this . rules_ ) ) this . rules_ [ auditRuleName ] = { } ; this . rules_ [ auditRuleName ] . severity = severity ; }
Sets the user-specified severity for the given audit rule. This will
replace the default severity for that audit rule in the audit results.
@param {string} auditRuleName
@param {axs.constants.Severity} severity
Sets the user - specified severity for the given audit rule . This will replace the default severity for that audit rule in the audit results .