author | Justin Dolske <dolske@mozilla.com> |
Tue, 11 Oct 2011 00:14:27 -0700 | |
changeset 78497 | ccea01542d0b174ddec140a061c7df70f9958055 |
parent 78496 | b0e79255fa97e9dc415cdd86d7e4c47609ea4fe8 |
child 78533 | 568821b5cdcac68bf945f0f0be29c1bf1e0bc1b7 |
push id | 21307 |
push user | jdolske@mozilla.com |
push date | Tue, 11 Oct 2011 07:15:01 +0000 |
treeherder | mozilla-central@ccea01542d0b [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | sparky |
bugs | 693099 |
milestone | 10.0a1 |
first release with | nightly linux32
ccea01542d0b
/
10.0a1
/
20111011031000
/
files
nightly linux64
ccea01542d0b
/
10.0a1
/
20111011031000
/
files
nightly mac
ccea01542d0b
/
10.0a1
/
20111011031000
/
files
nightly win32
ccea01542d0b
/
10.0a1
/
20111011031000
/
files
nightly win64
ccea01542d0b
/
10.0a1
/
20111011031000
/
files
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
releases | nightly linux32
10.0a1
/
20111011031000
/
pushlog to previous
nightly linux64
10.0a1
/
20111011031000
/
pushlog to previous
nightly mac
10.0a1
/
20111011031000
/
pushlog to previous
nightly win32
10.0a1
/
20111011031000
/
pushlog to previous
nightly win64
10.0a1
/
20111011031000
/
pushlog to previous
|
--- a/browser/base/content/nsContextMenu.js +++ b/browser/base/content/nsContextMenu.js @@ -849,17 +849,17 @@ nsContextMenu.prototype = { if (!name) name = "snapshot.jpg"; var video = this.target; var canvas = document.createElementNS("http://www.w3.org/1999/xhtml", "canvas"); canvas.width = video.videoWidth; canvas.height = video.videoHeight; var ctxDraw = canvas.getContext("2d"); ctxDraw.drawImage(video, 0, 0); - saveImageURL(canvas.toDataURL("image/jpg", ""), name, "SaveImageTitle", true, false, document.documentURIObject); + saveImageURL(canvas.toDataURL("image/jpeg", ""), name, "SaveImageTitle", true, false, document.documentURIObject); }, fullScreenVideo: function () { this.target.pause(); openDialog("chrome://browser/content/fullscreen-video.xhtml", "", "chrome,centerscreen,dialog=no", this.target); },