6 testRunner
.waitUntilDone();
8 var canvas
= document
.querySelector("canvas");
9 var context
= canvas
.getContext("2d");
13 requestAnimationFrame(function() {
15 // second frame which doesn't have a dirty
18 requestAnimationFrame(function() {
20 // third frame which has a dirty
22 context
.fillRect(0, 0, 10, 10);
24 if (window
.testRunner
)
25 testRunner
.notifyDone();