cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter (JIRA)" <>
Subject [jira] [Created] (CB-4662) Bad code in file autotest?
Date Sun, 25 Aug 2013 22:47:51 GMT
Peter created CB-4662:

             Summary: Bad code in file autotest?
                 Key: CB-4662
             Project: Apache Cordova
          Issue Type: Bug
          Components: mobile-spec
    Affects Versions: 2.9.0
            Reporter: Peter
            Assignee: Filip Maj
            Priority: Minor

By inspection, this code in the File autotests seems incorrect

        function arrayBufferEqualsString(buf, str) {
            var buf = new Uint8Array(ab);
            var match = buf.length == str.length;

            for (var i = 0; match && i < buf.length; i++) {
                match = buf[i] == str.charCodeAt(i);
            return match;

Where does that _ab_ come from?


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message