Bug 1044224 - [Messages][Tests] Generate assets on the fly instead of loading it with XHR. Generating assets using canvas. r=julien