javascript/selenium-core/scripts/htmlutils.js
function AssertionArguments(args) {
    if (args.length == 2) {
        this.comment = "";
        this.expected = args[0];
        this.actual = args[1];
    } else {
        this.comment = args[0] + "; ";
        this.expected = args[1];
        this.actual = args[2];
    }
}
function AssertionArguments(args) {
    if (args.length == 2) {
        this.comment = "";
        this.expected = args[0];
        this.actual = args[1];
    } else {
        this.comment = args[0] + "; ";
        this.expected = args[1];
        this.actual = args[2];
    }
}
function AssertionArguments ( args ) { if ( args . length == 2 ) { this . comment = "" ; this . expected = args [ 0 ] ; this . actual = args [ 1 ] ; } else { this . comment = args [ 0 ] + "; " ; this . expected = args [ 1 ] ; this . actual = args [ 2 ] ; } }
Preprocess the arguments to allow for an optional comment.
Preprocess the arguments to allow for an optional comment .