Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #39. Fix errors in FileReader/FileWriter found by MobileSpec.
Address several failures reported by MobileSpec test suite for the FileReader and FileWriter API. - Change the encoding of writes with the FileWriter API to use UTF-8 instead of the BlackBerry default of ISO-8859-1 - Truncate the file to the seek position before writing new data in order to match behavior on other platforms. Return the length of the file as the seek position plus data written. - Provide stubs for FileReader.readAsBinaryString and FileReader.readAsArrayBuffer.
- Loading branch information
Drew Walters
committed
Jul 21, 2011
1 parent
40ef74c
commit 07d785b
Showing
3 changed files
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters