1246775-1.html (329B)
1 <html> 2 <head> 3 <script> 4 function boom() 5 { 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"); 9 } 10 </script> 11 </head> 12 <body onload="boom();"> 13 <canvas id="canvas" width="10" height="10"></canvas> 14 </body> 15 </html>