Re: Test suite JS bug

David Faure wrote:

>
>
>>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) {
>...
>}
>
>  
>
Logged as http://www.w3.org/Bugs/Public/show_bug.cgi?id=235 and fix 
committed to CVS.

Received on Wednesday, 25 June 2003 01:13:38 UTC