WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Pilgrim (Google)
Comment 1
2011-10-07 20:49:27 PDT
Created
attachment 110249
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug