RESOLVED INVALID 115744
xhr of JSON File object sends toJSON() representation
https://bugs.webkit.org/show_bug.cgi?id=115744
Summary xhr of JSON File object sends toJSON() representation
TJ Holowaychuk
Reported 2013-05-07 11:28:37 PDT
We came across a bug (or gotcha?) that if you send a File object representing JSON, with the Content-Type application/json it will invoke .toJSON(), yielding a body such as the following: {"webkitRelativePath":"","lastModifiedDate":"2013-04-25T21:45:17.000Z","name":"package.json","type":"application/json","size":265,"kind":"file"} This seems pretty incorrect as any other type of file would pass through appropriately.
Attachments
TJ Holowaychuk
Comment 1 2013-05-07 11:38:28 PDT
Oh no this may be our request lib, I'll re-open if I can confirm the issue stand-alone.
Note You need to log in before you can comment on or make changes to this bug.