Bug 801676 - [Browser API] Make getScreenshot() use JPEG instead of PNG. r=jlebar

This commit is contained in:
Gabriele Svelto 2012-10-15 21:54:57 +02:00
parent 79a32d491e
commit 744e85292a

View File

@ -462,7 +462,7 @@ BrowserElementChild.prototype = {
content.innerHeight, "rgb(255,255,255)");
sendAsyncMsg('got-screenshot', {
id: data.json.id,
rv: canvas.toDataURL("image/png")
rv: canvas.toDataURL("image/jpeg")
});
},