I have a piece of Javascript code that uses an XHR to POST data to a URL, but it uses FormData, which is not supported in earlier versions of Chrome. This is very handy, but I want it to be backwards-compatible, so what is the best way to rewrite the makeFormData method to return the data ready to send?
The offending code is here:
http://bitbucket.org/piranha/historious.crx/src/tip/background.html#cl-86
Thank you!