746491.html (290B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <script> 5 6 function boom() 7 { 8 var ctx = document.querySelector("canvas").getContext('2d'); 9 ctx.lineTo(0, 3); 10 ctx.moveTo(0, 1); 11 ctx.isPointInPath(0, 2); 12 } 13 14 </script> 15 </head> 16 <body onload="boom();"><canvas width="100" height="100"></canvas></body> 17 </html>