6 var canvas
= document
.getElementById("canvas");
7 var ctx
= SpecialPowers
.wrap(canvas
.getContext("2d"));
8 ctx
.drawWindow(window
, 0, 0, canvas
.width
, canvas
.height
, "red");
12 <body onload=
"boom();">
13 <canvas id=
"canvas" width=
"10" height=
"10"></canvas>