Test suite JS bug

>From DOMTestCase.js:

function toUpperCaseArray() {
    var upperCased = new Array(expected.length);
    for(var i = 0; i < expected.length; i++) {
        if (expected[i].substring(0,1) != "#") {
            upperCased[i] = expected[i].toUpperCase();
        } else {
            upperCased[i] = expected[i];
        }
    }
    return upperCased;
}

"expected" isn't defined. I think this should be

function toUpperCaseArray(expected) {
...
}

-- 
David FAURE, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
Qtella users - stability patches at http://blackie.dk/~dfaure/qtella.html

Received on Tuesday, 24 June 2003 16:18:08 UTC