Bug 828782 - 0003. Use new function to handle malformed UTF-8 string. r=vchang

This commit is contained in:
Chuck Lee 2013-02-19 16:27:49 +08:00
parent 3bb80e66a1
commit 52c71ae1be

View File

@ -59,7 +59,7 @@ self.onmessage = function(e) {
else if (reply_len !== 4096)
cbuf[reply_len] = 0;
reply = cbuf.readString();
reply = cbuf.readStringReplaceMalformed();
}
// Else if reply_len was 0, use the empty reply, set above.