www/build/tools/csslint-rhino.js
function (propertyName, object, message) {
        YUITest.Assert._increment();
        if (!(propertyName in object)){
            YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Property '" + propertyName + "' not found on object."));
        }
    }
function (propertyName, object, message) {
        YUITest.Assert._increment();
        if (!(propertyName in object)){
            YUITest.Assert.fail(YUITest.Assert._formatMessage(message, "Property '" + propertyName + "' not found on object."));
        }
    }
function ( propertyName , object , message ) { YUITest . Assert . _increment ( ) ; if ( ! ( propertyName in object ) ) { YUITest . Assert . fail ( YUITest . Assert . _formatMessage ( message , "Property '" + propertyName + "' not found on object." ) ) ; } }
Asserts that an object has a property with the given name.
@param {String} propertyName The name of the property to test.
@param {Object} object The object to search.
@param {String} message (Optional) The message to display if the assertion fails.
@method ownsOrInheritsKey
@static
Asserts that an object has a property with the given name .