RESOLVED FIXED 69691
[File API] Test how FileReader substitutes illegal UTF-8 characters
https://bugs.webkit.org/show_bug.cgi?id=69691
Summary [File API] Test how FileReader substitutes illegal UTF-8 characters
Mark Pilgrim (Google)
Reported 2011-10-07 20:48:39 PDT
According to http://dev.w3.org/2006/webapi/FileAPI/#dfn-encoding , if a Blob can not be parsed as the given or calculated encoding, bytes that can not be read must be substituted with U+FFFD. This test creates a Blob with illegal UTF-8 bytes and then attempts to read it as UTF-8 text, and checks that the proper character substitution occurs. WebKit passes this test.
Attachments
Patch (2.60 KB, patch)
2011-10-07 20:49 PDT, Mark Pilgrim (Google)
no flags
Mark Pilgrim (Google)
Comment 1 2011-10-07 20:49:27 PDT
WebKit Review Bot
Comment 2 2011-10-15 00:01:17 PDT
Comment on attachment 110249 [details] Patch Clearing flags on attachment: 110249 Committed r97543: <http://trac.webkit.org/changeset/97543>
WebKit Review Bot
Comment 3 2011-10-15 00:01:21 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.