John Bai

Results 6 comments of John Bai

The main problem I'm running into is that I can't upload the file object this polyfill gives you. It isn't an actual File object and I believe it isn't qualified...

I thought about converting the result of the readAsDataURL(file) call to a Blob which can be appended to the FormData passed (proposed at http://stackoverflow.com/questions/4998908/convert-data-uri-to-file-then-append-to-formdata), but I'm not able to decode...

Found the problem and a SOLUTION. Looks like the newlines in the base64 encoding were the invalid/illegal characters. window.atob() doesn't seem to support them, so I added a line of...

So I ended up getting the file upload working by sending the base64 encoded data of the file to my server. My original effort to follow http://stackoverflow.com/questions/4998908/convert-data-uri-to-file-then-append-to-formdata wasn't practical because...

I’m dealing with this issue too. Peers at my company have been manually registering the link-to-external component in the before hook in the test files, but it doesn’t seem like...