W3C home > Mailing lists > Public > www-dom-ts@w3.org > June 2003

Test suite JS bug

From: David Faure <dfaure@trolltech.com>
Date: Tue, 24 Jun 2003 09:20:34 -0400 (EDT)
To: www-dom-ts@w3.org
Cc: pmk@kde.org, staikos@kde.org
Message-Id: <200306241520.07254.dfaure@trolltech.com>




>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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:48 GMT