Bug 1034619 - Add a comment to the screenshot gcli command. r=pbrosset

This commit is contained in:
Sébastien Blin 2014-07-03 17:54:29 +02:00
parent 36bd4a3804
commit 1f357e33fa

View File

@ -124,6 +124,8 @@ exports.items = [
height = rect.height;
}
} else {
// Bug 961832: GCLI screenshot shows fixed position element in wrong position if
// we don't scroll to top
window.scrollTo(0,0);
width = window.innerWidth + window.scrollMaxX;
height = window.innerHeight + window.scrollMaxY;