The canvas below contains 300x300 of the bottom-right content window.
Note, since the painting is happening at random time, cursor is painted only
if it is painted on the screen too. So reload is perhaps needed to see the cursor
in canvas.
MozAfterPaint could be used too.
The test needs to be run locally, because of UniversalXPConnect privileges.