In order to use setContent with say plain text and UTF-8 encoded data, one would want to be able to pass "text/plain; charset=utf-8" for the mimeType in order to get it to work.
Created attachment 62842 [details] proposed patch
Created attachment 63329 [details] Remove some unneeded curly brackets to follow the WebKit coding style.
Comment on attachment 63329 [details] Remove some unneeded curly brackets to follow the WebKit coding style. Nice testing! r=me
Comment on attachment 63329 [details] Remove some unneeded curly brackets to follow the WebKit coding style. Clearing flags on attachment: 63329 Committed r64679: <http://trac.webkit.org/changeset/64679>
All reviewed patches have been landed. Closing bug.