5 testRunner
.dumpAsText()
7 document
.body
.appendChild(document
.createElement("p")).appendChild(document
.createTextNode("This test passes if it does not cause a crash"));
8 var canvas
= document
.body
.appendChild(document
.createElement("canvas"));
10 canvas
.height
= "400";
11 var ctx
= canvas
.getContext('2d');
12 ctx
.shadowBlur
= 10500000000;
13 ctx
.shadowColor
= "green";
14 ctx
.fillRect(0, 0, 10, 10);