What steps will reproduce the problem?
goog.crypt.stringToUtf8ByteArray('A\r\n')
Expected: [65,13,10]
Actual: [65, 10]
For some reason, the code contains "str = str.replace(/\r\n/g, '\n');" which
seems highly suspicious for a generic function like this. Why would this
method do line ending normalization? That makes it useless to me.
Original issue reported on code.google.com by mich...@firebase.com on 4 Feb 2014 at 12:22
Original issue reported on code.google.com by
mich...@firebase.com
on 4 Feb 2014 at 12:22